From 839c7939e825d9a6a24eea4122b5cfd4ab8b5243 Mon Sep 17 00:00:00 2001 From: klausholstjacobsen Date: Sun, 3 Sep 2023 10:10:23 +0200 Subject: [PATCH] Added qnx in the posix test section of platform.h --- programs/platform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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