diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2021-03-08 22:19:41 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2021-03-08 22:19:41 (GMT) |
commit | d72405e43d44a3ac9ec27bb9d7a84e638a7aea10 (patch) | |
tree | 48ec01f76f61306e0965d13f25a16171abc8db78 /test/vfd_swmr_common.h | |
parent | ef5a1941f7638688c3d66cead33f03c329c2ed3e (diff) | |
download | hdf5-d72405e43d44a3ac9ec27bb9d7a84e638a7aea10.zip hdf5-d72405e43d44a3ac9ec27bb9d7a84e638a7aea10.tar.gz hdf5-d72405e43d44a3ac9ec27bb9d7a84e638a7aea10.tar.bz2 |
Changes to help vfd_swmr.c build on Windows
Diffstat (limited to 'test/vfd_swmr_common.h')
-rw-r--r-- | test/vfd_swmr_common.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/test/vfd_swmr_common.h b/test/vfd_swmr_common.h index d96983a..e04020a 100644 --- a/test/vfd_swmr_common.h +++ b/test/vfd_swmr_common.h @@ -44,9 +44,9 @@ typedef struct _estack_state { } estack_state_t; typedef enum _testsel { - TEST_NONE = 0 -, TEST_NULL -, TEST_OOB + TEST_NONE = 0, + TEST_NULL, + TEST_OOB } testsel_t; /********************/ @@ -60,6 +60,8 @@ typedef enum _testsel { extern "C" { #endif +#ifndef H5_HAVE_WIN32_API + H5TEST_DLL bool below_speed_limit(struct timespec *, const struct timespec *); H5TEST_DLL estack_state_t estack_get_state(void); @@ -85,6 +87,8 @@ H5TEST_DLL void evsnprintf(char *, size_t, const char *, va_list); H5TEST_DLL void esnprintf(char *, size_t, const char *, ...) H5_ATTR_FORMAT(printf, 3, 4); +#endif /* H5_HAVE_WIN32_API */ + H5TEST_DLL int fetch_env_ulong(const char *, unsigned long, unsigned long *); #ifdef __cplusplus |