mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-30 18:29:37 -06:00
clang-tidy: fix bugprone-reserved-identifier warnings
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user