summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-11 15:15:00 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-02-20 17:05:50 -0800
commit1e56b27429667e772b15b0f39863a8467297062b (patch)
treecbfc51d23bd2e3364a06e6ff2914fa144c5d319b
parentab0a3014822687da48cd3784253c34dea0a6ad2c (diff)
unifdef __QNX__
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--src/XlibInt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XlibInt.c b/src/XlibInt.c
index 192019d4..a4a69b4e 100644
--- a/src/XlibInt.c
+++ b/src/XlibInt.c
@@ -1697,7 +1697,7 @@ _XData32(
* and so, you may be better off using gethostname (if it exists).
*/
-#if (defined(_POSIX_SOURCE) && !defined(__QNX__)) || defined(SVR4)
+#if defined(_POSIX_SOURCE) || defined(SVR4)
#define NEED_UTSNAME
#include <sys/utsname.h>
#else