mirror of
https://github.com/reactos/reactos.git
synced 2026-05-25 08:39:58 +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 defined(TRIO_COMPILER_SUPPORTS_C99)
|
||||
#if defined(TRIO_COMPILER_SUPPORTS_C99) && !defined(__clang__)
|
||||
result = nan("");
|
||||
|
||||
#elif defined(NAN) && defined(__STDC_IEC_559__)
|
||||
|
||||
Reference in New Issue
Block a user