File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -1066,7 +1066,7 @@ IF(ENABLE_DAP)
1066
1066
1067
1067
IF (NOT ENABLE_HDF5 )
1068
1068
SET (ENABLE_DAP4 OFF CACHE BOOL "" )
1069
- ENDIF (ENABLE_HDF5 )
1069
+ ENDIF (NOT ENABLE_HDF5 )
1070
1070
1071
1071
ELSE ()
1072
1072
SET (ENABLE_DAP2 OFF CACHE BOOL "" )
Original file line number Diff line number Diff line change @@ -396,10 +396,12 @@ NC_testmode(NCURI* uri, const char* tag)
396
396
return found ;
397
397
}
398
398
399
- #if ! defined __INTEL_COMPILER
399
+ #if ! defined __INTEL_COMPILER
400
400
#if defined __APPLE__
401
401
/** \internal */
402
402
403
+ #if ! defined HAVE_DECL_ISINF
404
+
403
405
int isinf (double x )
404
406
{
405
407
union { unsigned long long u ; double f ; } ieee754 ;
@@ -408,6 +410,9 @@ int isinf(double x)
408
410
( (unsigned )ieee754 .u == 0 );
409
411
}
410
412
413
+ #endif /* HAVE_DECL_ISINF */
414
+
415
+ #if ! defined HAVE_DECL_ISNAN
411
416
/** \internal */
412
417
int isnan (double x )
413
418
{
@@ -417,6 +422,8 @@ int isnan(double x)
417
422
( (unsigned )ieee754 .u != 0 ) > 0x7ff00000 ;
418
423
}
419
424
425
+ #endif /* HAVE_DECL_ISNAN */
426
+
420
427
#endif /*APPLE*/
421
428
#endif /*!_INTEL_COMPILER*/
422
429
You can’t perform that action at this time.
0 commit comments