https://git.reactos.org/?p=reactos.git;a=commitdiff;h=7571d351ce624bb0a9ce87...
commit 7571d351ce624bb0a9ce873218987b5b06e8a053 Author: Amine Khaldi amine.khaldi@reactos.org AuthorDate: Tue Oct 31 14:10:03 2017 +0100
[LIBXML2] Do not rely on nan() when compiling with clang. CORE-11799 (#94) --- 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__)