mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[LIBXML2] Do not rely on nan() when compiling with clang. CORE-11799 (#94)
This commit is contained in:
parent
8ffffbb294
commit
7571d351ce
1 changed files with 1 additions and 1 deletions
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__)
|
||||
|
|
Loading…
Reference in a new issue