lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi] xanadu/remove-ISOC99_SOURCE-def


From: Greg Chicares
Subject: [lmi] xanadu/remove-ISOC99_SOURCE-def
Date: Sun, 22 May 2022 15:45:30 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0

I haven't applied this:

-// This selects a correct snprintf() for MinGW-w64.
-
-#if defined __GNUC__
-#   if !defined _ISOC99_SOURCE
-#       define _ISOC99_SOURCE
-#   endif // !defined _ISOC99_SOURCE
-#endif // defined __GNUC__

because, for the historical libmingwex at least,
some macro such as _ISOC99_SOURCE was required to
override a defective msvcrt snprintf(). IIRC, some
other macros served the same purpose; this one
seemed the least objectionable.

Do you know for sure that the MinGW-w64 project
has made that replacement unconditional?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]