You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GCC and Clang uniformly predefine __unix__ macro to 1, except on Windows, MacOS and Haiku (And some more obscure systems which are definitely not POSIX compliant)
This predefined macro is expected by many portable projects, and may lead to build failures if not fixed (Ignoring the other stuff I stumbled upon, which will be reported separately)
Example output from GCC & Clang on a Linux system:
__unix__
macro to1
, except on Windows, MacOS and Haiku (And some more obscure systems which are definitely not POSIX compliant)Example output from GCC & Clang on a Linux system:
^ The following shell syntax may be used to figure out other missing (And well-known and expected) predefined macros
The text was updated successfully, but these errors were encountered: