diff options
Diffstat (limited to 'fmacros.h')
-rw-r--r-- | fmacros.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -6,6 +6,10 @@ #define _DEFAULT_SOURCE #endif +#if defined(__CYGWIN__) +#include <sys/cdefs.h> +#endif + #if defined(__sun__) #define _POSIX_C_SOURCE 200112L #elif defined(__linux__) || defined(__OpenBSD__) || defined(__NetBSD__) @@ -14,7 +18,7 @@ #define _XOPEN_SOURCE #endif -#if __APPLE__ && __MACH__ +#if defined(__APPLE__) && defined(__MACH__) #define _OSX #endif |