mirror of
https://github.com/reactos/reactos.git
synced 2026-06-01 00:40:26 +08:00
[LIBXML2] Do not rely on nan() when compiling with clang. CORE-11799 (#94)
This commit is contained in:
2
sdk/lib/3rdparty/libxml2/trionan.c
vendored
2
sdk/lib/3rdparty/libxml2/trionan.c
vendored
@@ -327,7 +327,7 @@ trio_nan(TRIO_NOARGS)
|
|||||||
|
|
||||||
if (result == 0.0) {
|
if (result == 0.0) {
|
||||||
|
|
||||||
#if defined(TRIO_COMPILER_SUPPORTS_C99)
|
#if defined(TRIO_COMPILER_SUPPORTS_C99) && !defined(__clang__)
|
||||||
result = nan("");
|
result = nan("");
|
||||||
|
|
||||||
#elif defined(NAN) && defined(__STDC_IEC_559__)
|
#elif defined(NAN) && defined(__STDC_IEC_559__)
|
||||||
|
|||||||
Reference in New Issue
Block a user