summaryrefslogtreecommitdiffstats
path: root/CONTRIBUTING.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-02-05 12:11:58 (GMT)
committerBrad King <brad.king@kitware.com>2021-02-05 12:43:59 (GMT)
commita8b41e2c68ca38b2b47f20c591042fb69a731494 (patch)
tree68c047db3d9e28d4ec1b8cb305c2a93c4f81203d /CONTRIBUTING.rst
parent82cfeeb484f584163793c13ee12288b630549eb3 (diff)
downloadCMake-a8b41e2c68ca38b2b47f20c591042fb69a731494.zip
CMake-a8b41e2c68ca38b2b47f20c591042fb69a731494.tar.gz
CMake-a8b41e2c68ca38b2b47f20c591042fb69a731494.tar.bz2
LexerParser: Do not override existing _POSIX_C_SOURCE definition
In commit f034b0f663 (CMake compilation: do not use compiler extensions, 2020-03-14, v3.18.0-rc1~494^2) we explicitly defined `_POSIX_C_SOURCE` to ensure availability of POSIX APIs even when compiler extensions are not enabled. Update the code to avoid redefining `_POSIX_C_SOURCE` if it is already defined. This occurs when building our release binaries as configured in `Utilities/Release/linux`, where we define `_POSIX_C_SOURCE` explicitly on the compiler command line.
Diffstat (limited to 'CONTRIBUTING.rst')
0 files changed, 0 insertions, 0 deletions