diff options
author | Brad King <brad.king@kitware.com> | 2022-06-04 12:14:03 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-06-04 12:14:09 (GMT) |
commit | 007181a16584c02419d77b7fd258b170ed9ea2fa (patch) | |
tree | 03317f385f5158ce264dcd66225e9c0ad8333680 /Source/kwsys/testProcess.c | |
parent | d8e5d9240cd0ffcf3af79bd54dd22f60e49e2415 (diff) | |
parent | 1869f828231b2f7974b4ac359e40cfa658895848 (diff) | |
download | CMake-007181a16584c02419d77b7fd258b170ed9ea2fa.zip CMake-007181a16584c02419d77b7fd258b170ed9ea2fa.tar.gz CMake-007181a16584c02419d77b7fd258b170ed9ea2fa.tar.bz2 |
Merge topic 'update-kwsys'
1869f82823 Merge branch 'upstream-KWSys' into update-kwsys
6b88084658 KWSys 2022-06-03 (c28e27bc)
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !7322
Diffstat (limited to 'Source/kwsys/testProcess.c')
-rw-r--r-- | Source/kwsys/testProcess.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/kwsys/testProcess.c b/Source/kwsys/testProcess.c index eed770c..fcc31da 100644 --- a/Source/kwsys/testProcess.c +++ b/Source/kwsys/testProcess.c @@ -1,5 +1,9 @@ /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying file Copyright.txt or https://cmake.org/licensing#kwsys for details. */ +#if !defined(_WIN32) && !defined(__APPLE__) && !defined(__OpenBSD__) +/* NOLINTNEXTLINE(bugprone-reserved-identifier) */ +# define _XOPEN_SOURCE 600 +#endif #include "kwsysPrivate.h" #include KWSYS_HEADER(Process.h) #include KWSYS_HEADER(Encoding.h) |