mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-13 16:47:58 +08:00
[svn-r24192] Correct test and usage of defines for cmake configure
This commit is contained in:
parent
b52c12bc1d
commit
c19d87b1fc
@ -1071,7 +1071,11 @@ H5ConversionTests (H5_ULONG_TO_FLOAT_ACCURATE "Checking IF accurately converting
|
||||
# 64-bit machines, where the short program below tests if round-up is
|
||||
# correctly handled.
|
||||
#
|
||||
H5ConversionTests (H5_ULONG_TO_FP_BOTTOM_BIT_ACCURATE "Checking IF accurately converting unsigned long long to floating-point values")
|
||||
IF (CMAKE_SYSTEM MATCHES "solaris2.*")
|
||||
H5ConversionTests (H5_ULONG_TO_FP_BOTTOM_BIT_ACCURATE "Checking IF accurately converting unsigned long long to floating-point values")
|
||||
ELSE (CMAKE_SYSTEM MATCHES "solaris2.*")
|
||||
SET(H5_ULONG_TO_FP_BOTTOM_BIT_ACCURATE 1)
|
||||
ENDIF (CMAKE_SYSTEM MATCHES "solaris2.*")
|
||||
# ----------------------------------------------------------------------
|
||||
# Set the flag to indicate that the machine can accurately convert
|
||||
# 'float' or 'double' to 'unsigned long long' values.
|
||||
|
@ -708,7 +708,7 @@
|
||||
#cmakedefine H5_SIZEOF_UNSIGNED @H5_SIZEOF_UNSIGNED@
|
||||
|
||||
/* The size of `__int64', as computed by sizeof. */
|
||||
#cmakedefine H5_SIZEOF___INT64 @H5_SIZEOF___INT64@
|
||||
#define H5_SIZEOF___INT64 @H5_SIZEOF___INT64@
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#cmakedefine H5_STDC_HEADERS @H5_STDC_HEADERS@
|
||||
|
Loading…
x
Reference in New Issue
Block a user