diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2021-01-22 15:33:22 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2021-01-27 13:45:44 (GMT) |
commit | c826461d9cd5d7a6cb32a09ccc44f9e2f3dd9dce (patch) | |
tree | fd692d5b557cea163005598b0c541b79a1c57069 /Source/cmLoadCommandCommand.cxx | |
parent | 675d81be6c728d21b78314f763ba060855b1366b (diff) | |
download | CMake-c826461d9cd5d7a6cb32a09ccc44f9e2f3dd9dce.zip CMake-c826461d9cd5d7a6cb32a09ccc44f9e2f3dd9dce.tar.gz CMake-c826461d9cd5d7a6cb32a09ccc44f9e2f3dd9dce.tar.bz2 |
clang-tidy: fix `bugprone-reserved-identifier` warnings
Diffstat (limited to 'Source/cmLoadCommandCommand.cxx')
-rw-r--r-- | Source/cmLoadCommandCommand.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmLoadCommandCommand.cxx b/Source/cmLoadCommandCommand.cxx index adebe02..9c0b400 100644 --- a/Source/cmLoadCommandCommand.cxx +++ b/Source/cmLoadCommandCommand.cxx @@ -3,10 +3,12 @@ #if !defined(_WIN32) && !defined(__sun) // POSIX APIs are needed +// NOLINTNEXTLINE(bugprone-reserved-identifier) # define _POSIX_C_SOURCE 200809L #endif #if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__) // For isascii +// NOLINTNEXTLINE(bugprone-reserved-identifier) # define _XOPEN_SOURCE 700 #endif |