Commit 3d835eb6 authored by BogDan Vatra's avatar BogDan Vatra
Browse files

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: default avatarDaniel Teske <daniel.teske@theqtcompany.com>
Reviewed-by: default avatarEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
parent 710cb8e2
No related merge requests found
Showing with 1 addition and 1 deletion
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#ifndef _POSIX_C_SOURCE #ifndef _POSIX_C_SOURCE
# define _POSIX_C_SOURCE 200809L # define _POSIX_C_SOURCE 200809L
#endif #endif
#if !defined(_XOPEN_SOURCE) && !defined(__QNXNTO__) #if !defined(_XOPEN_SOURCE) && !defined(__QNXNTO__) && !defined(ANDROID)
# define _XOPEN_SOURCE 500 # define _XOPEN_SOURCE 500
#endif #endif
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment