From: klausholstjacobsen Date: Sun, 3 Sep 2023 08:10:23 +0000 (+0200) Subject: Added qnx in the posix test section of platform.h X-Git-Tag: v1.5.6^2~124^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=839c7939e825d9a6a24eea4122b5cfd4ab8b5243;p=thirdparty%2Fzstd.git Added qnx in the posix test section of platform.h --- diff --git a/programs/platform.h b/programs/platform.h index 18a3587bf..43c5dc969 100644 --- a/programs/platform.h +++ b/programs/platform.h @@ -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