diff options
Diffstat (limited to 'test/h5test.h')
-rw-r--r-- | test/h5test.h | 7 |
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) |