summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorBogDan Vatra <bogdan@kde.org>2015-02-13 18:26:48 +0200
committerBogDan Vatra <bogdan@kde.org>2015-02-16 16:05:29 +0000
commit3d835eb62e70435fe32318441dc7c10aba3a6fba (patch)
treea3bd07c990b36505cf4204e967932cf260b4c030 /src/corelib
parent710cb8e2fc421b2ae752dd533f4d2eb9c4521f28 (diff)
Android: Fix compile on arm64-v8a
Android arm64-v8a redefines _POSIX_C_SOURCE to 199506 if _XOPEN_SOURCE is defined. Change-Id: I04ff616eaac6e08094fc1f58f49bc5a2c31733f0 Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/io/forkfd_qt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/forkfd_qt.cpp b/src/corelib/io/forkfd_qt.cpp
index ed96f9db20..56a39f8df0 100644
--- a/src/corelib/io/forkfd_qt.cpp
+++ b/src/corelib/io/forkfd_qt.cpp
@@ -35,7 +35,7 @@
#ifndef _POSIX_C_SOURCE
# define _POSIX_C_SOURCE 200809L
#endif
-#if !defined(_XOPEN_SOURCE) && !defined(__QNXNTO__)
+#if !defined(_XOPEN_SOURCE) && !defined(__QNXNTO__) && !defined(ANDROID)
# define _XOPEN_SOURCE 500
#endif