Kaydet (Commit) 6a17d2f2 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

No nan() in Clang for Android, it seems

Change-Id: I73fb37de0e4eeefdb08a6da48947afa1fdf02a38
üst 27a9a0d1
......@@ -13,3 +13,15 @@
# Parse the version information argument.
save_ifs="$IFS"; IFS=':'
set dummy $vinfo 0 0 0
--- misc/libxml2-2.7.6/trionan.c
+++ misc/build/libxml2-2.7.6/trionan.c
@@ -327,7 +327,7 @@
if (result == 0.0) {
-#if defined(TRIO_COMPILER_SUPPORTS_C99)
+#if defined(TRIO_COMPILER_SUPPORTS_C99) && !(defined(__ANDROID__) && defined(__clang__))
result = nan("");
#elif defined(NAN) && defined(__STDC_IEC_559__)
Markdown is supported
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