summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
authorElad Lahav <e2lahav@gmail.com>2020-09-07 16:42:32 (GMT)
committerBrad King <brad.king@kitware.com>2020-09-25 15:53:44 (GMT)
commitf9e950d4c5e8b7ecd5418dacfd5d6be500e6d738 (patch)
tree6b369bc64c2dbc139f4689f052f43ca4996db05d /Source/cmSystemTools.cxx
parentc98ec731f90eb0180c89108b7d2e42263b66d1ed (diff)
downloadCMake-f9e950d4c5e8b7ecd5418dacfd5d6be500e6d738.zip
CMake-f9e950d4c5e8b7ecd5418dacfd5d6be500e6d738.tar.gz
CMake-f9e950d4c5e8b7ecd5418dacfd5d6be500e6d738.tar.bz2
libuv: Add support for building for QNX within CMake
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r--Source/cmSystemTools.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index fbf4ceb..1e625a4 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -5,7 +5,8 @@
// POSIX APIs are needed
# define _POSIX_C_SOURCE 200809L
#endif
-#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__)
+#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__) || \
+ defined(__QNX__)
// For isascii
# define _XOPEN_SOURCE 700
#endif