1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-02 04:58:18 +03:00

Fixed crash on OSF/1

This commit is contained in:
Bjorn Reese 2002-04-19 15:16:01 +00:00
parent b439896915
commit 54d02fb30d
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Fri Apr 19 17:14:24 CEST 2002 Bjorn Reese <breese@users.sourceforge.net>
* trionan.c: fixed crash on OSF/1
Fri Apr 19 09:00:56 CEST 2002 Daniel Veillard <daniel@veillard.com>
* xmlschemas.c: more Schemas work

View File

@ -324,7 +324,7 @@ trio_nan(void)
if (result == 0.0) {
#if defined(TRIO_COMPILER_SUPPORTS_C99)
result = nan(NULL);
result = nan("");
#elif defined(NAN) && defined(__STDC_IEC_559__)
result = (double)NAN;