diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2021-03-10 03:16:38 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2021-03-10 03:16:38 (GMT) |
commit | f213ff673d10e1782b032c98340e4cccde7542f3 (patch) | |
tree | ea4755ff098081e44df64e6fb62f54fba4bbc27a /test/vfd_swmr_common.h | |
parent | a44ac1af3f9e2b775598126338a596e83db2696e (diff) | |
download | hdf5-f213ff673d10e1782b032c98340e4cccde7542f3.zip hdf5-f213ff673d10e1782b032c98340e4cccde7542f3.tar.gz hdf5-f213ff673d10e1782b032c98340e4cccde7542f3.tar.bz2 |
Windows cleanup
* A splitter VFD test in vfd.c fails
* Several vfd_swmr.c tests are #ifdef'd around
Diffstat (limited to 'test/vfd_swmr_common.h')
-rw-r--r-- | test/vfd_swmr_common.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/test/vfd_swmr_common.h b/test/vfd_swmr_common.h index 9e77471..c764df8 100644 --- a/test/vfd_swmr_common.h +++ b/test/vfd_swmr_common.h @@ -53,6 +53,8 @@ typedef enum _testsel { /* Global Variables */ /********************/ +H5TEST_DLLVAR int verbosity; + /**************/ /* Prototypes */ /**************/ @@ -60,18 +62,17 @@ typedef enum _testsel { extern "C" { #endif -#ifndef H5_HAVE_WIN32_API - -H5TEST_DLL bool below_speed_limit(struct timespec *, const struct timespec *); +H5TEST_DLL hbool_t below_speed_limit(struct timespec *, const struct timespec *); H5TEST_DLL estack_state_t estack_get_state(void); H5TEST_DLL estack_state_t disable_estack(void); H5TEST_DLL void restore_estack(estack_state_t); - +#ifndef H5_HAVE_WIN32_API H5TEST_DLL void block_signals(sigset_t *); H5TEST_DLL void restore_signals(sigset_t *); H5TEST_DLL void await_signal(hid_t); +#endif /* H5_HAVE_WIN32_API */ H5TEST_DLL hid_t vfd_swmr_create_fapl(bool use_latest_format, bool use_vfd_swmr, bool only_meta_pages, @@ -87,14 +88,10 @@ 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 } #endif -H5TEST_DLLVAR int verbosity; - #endif /* SWMR_COMMON_H */ |