summaryrefslogtreecommitdiffstats
path: root/testpar
diff options
context:
space:
mode:
authorScott Wegner <swegner@hdfgroup.org>2007-05-18 15:14:43 (GMT)
committerScott Wegner <swegner@hdfgroup.org>2007-05-18 15:14:43 (GMT)
commit87a41d4286718ebc06acf6a9021ea85b9a93f278 (patch)
tree1e1946e375f700573b5718020a16c7e117f33c76 /testpar
parent513c74a8da0e7bb29b727ddc1409e7e6d7902461 (diff)
downloadhdf5-87a41d4286718ebc06acf6a9021ea85b9a93f278.zip
hdf5-87a41d4286718ebc06acf6a9021ea85b9a93f278.tar.gz
hdf5-87a41d4286718ebc06acf6a9021ea85b9a93f278.tar.bz2
[svn-r13766] In Visual Studio 2005 for 64-bit, _WIN32 is defined, but not WIN32, so I've standardized all #ifdef's to use _WIN32. This should not affect any other platform.
Tested: Visual Studio (32- and 64-bit) on Win XP
Diffstat (limited to 'testpar')
-rw-r--r--testpar/t_mdset.c6
-rw-r--r--testpar/testphdf5.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/testpar/t_mdset.c b/testpar/t_mdset.c
index 4cd6037..da67fe9 100644
--- a/testpar/t_mdset.c
+++ b/testpar/t_mdset.c
@@ -459,7 +459,7 @@ void big_dataset(void)
/* Check that file of the correct size was created */
file_size=h5_get_file_size(filename);
-#ifndef WIN32
+#ifndef _WIN32
VRFY((file_size == 2147485696ULL), "File is correct size (~2GB)");
#endif
@@ -490,7 +490,7 @@ void big_dataset(void)
/* Check that file of the correct size was created */
file_size=h5_get_file_size(filename);
-#ifndef WIN32
+#ifndef _WIN32
VRFY((file_size == 4294969344ULL), "File is correct size (~4GB)");
#endif
@@ -521,7 +521,7 @@ void big_dataset(void)
/* Check that file of the correct size was created */
file_size=h5_get_file_size(filename);
-#ifndef WIN32
+#ifndef _WIN32
VRFY((file_size == 8589936640ULL), "File is correct size (~8GB)");
#endif
diff --git a/testpar/testphdf5.c b/testpar/testphdf5.c
index 0c81fe7..495bae0 100644
--- a/testpar/testphdf5.c
+++ b/testpar/testphdf5.c
@@ -394,8 +394,8 @@ int main(int argc, char **argv)
"collective group and dataset write", &collngroups_params);
AddTest("ingrpr", independent_group_read, NULL,
"independent group and dataset read", &collngroups_params);
- /* By default, do not run big dataset on WIN32. */
-#ifdef WIN32
+ /* By default, do not run big dataset on _WIN32. */
+#ifdef _WIN32
AddTest("-bigdset", big_dataset, NULL,
"big dataset test", PARATESTFILE);
#else