changeset 11:bfc13f31112f

Make _inline modifier for imaxdiv default option. Use STATIC_IMAXDIV to make it static.
author ipse.c99@d525d15b-5824-0410-80a3-6185d19c2cde
date Wed, 13 Dec 2006 13:53:11 +0000
parents fed29a68d73f
children 054398f65efe
files inttypes.h
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/inttypes.h
+++ b/inttypes.h
@@ -268,11 +268,11 @@ typedef struct {
 
 // This is modified version of div() function from Microsoft's div.c found
 // in %MSVC.NET%\crt\src\div.c
-#ifdef INLINE_IMAXDIV // [
-_inline
-#else // INLINE_IMAXDIV ][
+#ifdef STATIC_IMAXDIV // [
 static
-#endif // INLINE_IMAXDIV ]
+#else // STATIC_IMAXDIV ][
+_inline
+#endif // STATIC_IMAXDIV ]
 imaxdiv_t __cdecl imaxdiv(intmax_t numer, intmax_t denom)
 {
    imaxdiv_t result;