summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2005-09-21 13:41:09 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2005-09-21 13:41:09 (GMT)
commitd09ca66a26e1c7cd57d40fa3fc34f2b7b4c40986 (patch)
treeb24f9f73985b4fed56da48082f163a822b9595c4 /test
parent4114f888c63ca1fed13d84a93c4bdf173cad443e (diff)
downloadhdf5-d09ca66a26e1c7cd57d40fa3fc34f2b7b4c40986.zip
hdf5-d09ca66a26e1c7cd57d40fa3fc34f2b7b4c40986.tar.gz
hdf5-d09ca66a26e1c7cd57d40fa3fc34f2b7b4c40986.tar.bz2
[svn-r11448] Purpose:
new features Description: add support for compiling the library and testphdf5 in Windows Solution: Platforms tested: Linux AIX Solaris Windows VC6 Misc. update:
Diffstat (limited to 'test')
-rw-r--r--test/h5test.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/h5test.h b/test/h5test.h
index be5e769..235360a 100644
--- a/test/h5test.h
+++ b/test/h5test.h
@@ -77,7 +77,7 @@
* This contains the filename prefix specificied as command line option for
* the parallel test files.
*/
-extern char *paraprefix;
+H5_DLLVAR char *paraprefix;
#ifdef H5_HAVE_PARALLEL
extern MPI_Info h5_io_info_g; /* MPI INFO object for IO */
#endif
@@ -111,8 +111,13 @@ extern MPI_Info h5_io_info_g; /* MPI INFO object for IO */
* Alarm definitions to wait up (terminate) a test that runs too long.
*/
#define alarm_seconds 1200 /* default is 20 minutes */
+#ifndef WIN32
#define ALARM_ON HDalarm(alarm_seconds)
#define ALARM_OFF HDalarm(0)
+#else
+#define ALARM_ON
+#define ALARM_OFF
+#endif
/* set alarms to N seconds if N > 0, else use default alarm_seconds. */
#define ALARM_SET(N) HDalarm((N)>0 ? N : alarm_seconds)