https://git.reactos.org/?p=reactos.git;a=commitdiff;h=2d887745a7effe4409485ffb08c9f0368b2049e3

commit 2d887745a7effe4409485ffb08c9f0368b2049e3
Author:     Thomas Faber <[email protected]>
AuthorDate: Thu Feb 8 00:41:13 2018 +0100
Commit:     Thomas Faber <[email protected]>
CommitDate: Thu Feb 8 00:41:39 2018 +0100

    [LIBXML2] Restore lost ROS-diff introduced in 7571d351ce. CORE-14291 
CORE-11799
---
 sdk/lib/3rdparty/libxml2/trionan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sdk/lib/3rdparty/libxml2/trionan.c 
b/sdk/lib/3rdparty/libxml2/trionan.c
index 6fbabb5dbd..71f1b1b9b3 100644
--- a/sdk/lib/3rdparty/libxml2/trionan.c
+++ b/sdk/lib/3rdparty/libxml2/trionan.c
@@ -327,7 +327,7 @@ trio_nan(TRIO_NOARGS)
 
   if (result == 0.0) {
 
-#if defined(TRIO_COMPILER_SUPPORTS_C99)
+#if defined(TRIO_COMPILER_SUPPORTS_C99) && !defined(__clang__)
     result = nan("");
 
 #elif defined(NAN) && defined(__STDC_IEC_559__)

Reply via email to