]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Added qnx in the posix test section of platform.h 3745/head
authorklausholstjacobsen <klaus.holst.jacobsen@gmail.com>
Sun, 3 Sep 2023 08:10:23 +0000 (10:10 +0200)
committerklausholstjacobsen <klaus.holst.jacobsen@gmail.com>
Sun, 3 Sep 2023 09:40:53 +0000 (11:40 +0200)
programs/platform.h

index 18a3587bfe2b51b23817b4fe60be104c0b2531e0..43c5dc9694d12248ab426f7273ba9065e18e08b7 100644 (file)
@@ -89,7 +89,7 @@ extern "C" {
  */
 #  elif !defined(_WIN32) \
      && ( defined(__unix__) || defined(__unix) \
-       || defined(__midipix__) || defined(__VMS) || defined(__HAIKU__) )
+       || defined(_QNX_SOURCE) || defined(__midipix__) || defined(__VMS) || defined(__HAIKU__) )
 
 #    if defined(__linux__) || defined(__linux) || defined(__CYGWIN__)
 #      ifndef _POSIX_C_SOURCE