diff options
-rw-r--r-- | test/h5test.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/test/h5test.c b/test/h5test.c index ac834bf..c077c6a 100644 --- a/test/h5test.c +++ b/test/h5test.c @@ -215,11 +215,7 @@ h5_reset(void) * Cause the library to emit some diagnostics early so they don't * interfere with other formatted output. */ -#ifdef WIN32 - sprintf(filename, "/tmp/h5emit-%05d.h5",_getpid()); -#else - sprintf(filename, "/tmp/h5emit-%05d.h5", getpid()); -#endif + sprintf(filename, "/tmp/h5emit-%05d.h5", HDgetpid()); H5E_BEGIN_TRY { hid_t file = H5Fcreate(filename, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT); |