libuv: Add support for building for QNX within CMake

This commit is contained in:
Elad Lahav
2020-09-07 12:42:32 -04:00
committed by Brad King
parent c98ec731f9
commit f9e950d4c5
4 changed files with 26 additions and 2 deletions
+2 -1
View File
@@ -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
+2 -1
View File
@@ -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