diff options
author | MuQun Yang <ymuqun@hdfgroup.org> | 2001-10-05 16:43:32 (GMT) |
---|---|---|
committer | MuQun Yang <ymuqun@hdfgroup.org> | 2001-10-05 16:43:32 (GMT) |
commit | 2f90a7ae415d911b0f4dde15b89073591588a595 (patch) | |
tree | ab1f8e2ed2939c49a9ad33765dcf8c7eecc4315a | |
parent | 668d00dbe6ac5c79c06704bf515045f3404a4c33 (diff) | |
download | hdf5-2f90a7ae415d911b0f4dde15b89073591588a595.zip hdf5-2f90a7ae415d911b0f4dde15b89073591588a595.tar.gz hdf5-2f90a7ae415d911b0f4dde15b89073591588a595.tar.bz2 |
[svn-r4522]
Purpose:
bug fixed
Description:
Windows doesn't recognize long long. Instead it uses __int64. So add a macro
like
#ifdef HAVE____int64 for windows-like platforms.
Solution:
see above
Platforms tested:
eirene
-rw-r--r-- | test/tconfig.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/tconfig.c b/test/tconfig.c index 256fed4..077c472 100644 --- a/test/tconfig.c +++ b/test/tconfig.c @@ -107,9 +107,15 @@ test_config_ctypes(void) vrfy_ctype(double, SIZEOF_DOUBLE); /* non-standard basic types */ +#ifdef HAVE___int64 +#if SIZEOF___INT64 >0 + vrfy_ctype(__int64,SIZEOF___INT64); +#endif +#else #if SIZEOF_LONG_LONG > 0 vrfy_ctype(long long, SIZEOF_LONG_LONG); #endif +#endif #if SIZEOF_LONG_DOUBLE > 0 vrfy_ctype(long double, SIZEOF_LONG_DOUBLE); |