summaryrefslogtreecommitdiffstats
path: root/test/tconfig.c
diff options
context:
space:
mode:
authorMuQun Yang <ymuqun@hdfgroup.org>2001-10-05 18:39:36 (GMT)
committerMuQun Yang <ymuqun@hdfgroup.org>2001-10-05 18:39:36 (GMT)
commit0ecc4709e934350241119ad491263fe767bc38a0 (patch)
tree5a3e6810c53b60dcb4332a4e509f2d2762fefbad /test/tconfig.c
parentd033f23f6bf5bfecef84973144bde6952789a782 (diff)
downloadhdf5-0ecc4709e934350241119ad491263fe767bc38a0.zip
hdf5-0ecc4709e934350241119ad491263fe767bc38a0.tar.gz
hdf5-0ecc4709e934350241119ad491263fe767bc38a0.tar.bz2
[svn-r4524]
Purpose: refix tconfig.c Description: Follow Robb's reminder, long_long is used to define __int64 in windows and long long for other platforms at H5private.h. Solution: just change vrfy_ctype(long long....) into vrfy(long_long,.....) in the tconfig.c. Delete the previous macro. Platforms tested: windows 2000, linux
Diffstat (limited to 'test/tconfig.c')
-rw-r--r--test/tconfig.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/test/tconfig.c b/test/tconfig.c
index 077c472..4882fd0 100644
--- a/test/tconfig.c
+++ b/test/tconfig.c
@@ -107,14 +107,8 @@ 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
+ vrfy_ctype(long_long, SIZEOF_LONG_LONG);
#endif
#if SIZEOF_LONG_DOUBLE > 0