diff options
Diffstat (limited to 'Source/cmStandardLexer.h')
-rw-r--r-- | Source/cmStandardLexer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmStandardLexer.h b/Source/cmStandardLexer.h index e0b2116..b248b91 100644 --- a/Source/cmStandardLexer.h +++ b/Source/cmStandardLexer.h @@ -7,7 +7,7 @@ /* Needed for glibc < 2.12 */ # define _XOPEN_SOURCE 600 #endif -#if !defined(_WIN32) && !defined(__sun) +#if !defined(_POSIX_C_SOURCE) && !defined(_WIN32) && !defined(__sun) /* POSIX APIs are needed */ # define _POSIX_C_SOURCE 200809L #endif |