# HG changeset patch # User ipse.c99@d525d15b-5824-0410-80a3-6185d19c2cde # Date 1166017991 0 # Node ID bfc13f31112f4cf7bf4265fc33d0ae28f5d515fb # Parent fed29a68d73f37c14013093c16a6e9a185810374 Make _inline modifier for imaxdiv default option. Use STATIC_IMAXDIV to make it static. diff --git a/inttypes.h b/inttypes.h --- 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;