diff options
author | Brad King <brad.king@kitware.com> | 2021-02-08 16:43:59 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-02-08 16:44:15 (GMT) |
commit | 58167b3eb07408bd04f3b00fd1b3530817c3b7d8 (patch) | |
tree | f592e2fbdbde26376dae1bbc99044f0fefebcaa5 /Source | |
parent | f0257a87a3c282e2ea0c0a06556d4fedeb4cfe95 (diff) | |
parent | a8b41e2c68ca38b2b47f20c591042fb69a731494 (diff) | |
download | CMake-58167b3eb07408bd04f3b00fd1b3530817c3b7d8.zip CMake-58167b3eb07408bd04f3b00fd1b3530817c3b7d8.tar.gz CMake-58167b3eb07408bd04f3b00fd1b3530817c3b7d8.tar.bz2 |
Merge topic 'lexer-posix-source' into release-3.19
a8b41e2c68 LexerParser: Do not override existing _POSIX_C_SOURCE definition
82cfeeb484 Merge branch 'backport-3.18-ci-wix-download' into release-3.18
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5776
Diffstat (limited to 'Source')
-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 0203779..64c1645 100644 --- a/Source/cmStandardLexer.h +++ b/Source/cmStandardLexer.h @@ -6,7 +6,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 |