Skip to content

Commit

Permalink
Merge branch 'dap4tests2.tmp' into dap4tests2.dmh
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisHeimbigner committed Nov 27, 2022
2 parents d06901f + 3083986 commit 65eca29
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1066,7 +1066,7 @@ IF(ENABLE_DAP)
SET(ENABLE_DAP4 ON CACHE BOOL "")
ELSE(ENABLE_HDF5)
SET(ENABLE_DAP4 OFF CACHE BOOL "")
ENDIF(ENABLE_HDF5)
ENDIF(NOT ENABLE_HDF5)

ELSE()
SET(ENABLE_DAP2 OFF CACHE BOOL "")
Expand Down
1 change: 1 addition & 0 deletions dap4_test/test_hyrax.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ nc4_test_files/nc4_strings_comp.nc \
nc4_test_files/ref_tst_compounds.nc \
hyrax/RSS/amsre/bmaps_v05/y2006/m01/amsre_20060131v5.dat?dap4.ce=time_a \
"
F=nc4_test_files/nc4_nc_classic_no_comp.nc

failure() {
echo "*** Fail: $1"
Expand Down
9 changes: 8 additions & 1 deletion libdispatch/dutil.c
Original file line number Diff line number Diff line change
Expand Up @@ -396,10 +396,12 @@ NC_testmode(NCURI* uri, const char* tag)
return found;
}

#if ! defined __INTEL_COMPILER
#if ! defined __INTEL_COMPILER
#if defined __APPLE__
/** \internal */

#if ! defined HAVE_DECL_ISINF

int isinf(double x)
{
union { unsigned long long u; double f; } ieee754;
Expand All @@ -408,6 +410,9 @@ int isinf(double x)
( (unsigned)ieee754.u == 0 );
}

#endif /* HAVE_DECL_ISINF */

#if ! defined HAVE_DECL_ISNAN
/** \internal */
int isnan(double x)
{
Expand All @@ -417,6 +422,8 @@ int isnan(double x)
( (unsigned)ieee754.u != 0 ) > 0x7ff00000;
}

#endif /* HAVE_DECL_ISNAN */

#endif /*APPLE*/
#endif /*!_INTEL_COMPILER*/

Expand Down

0 comments on commit 65eca29

Please sign in to comment.