diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2021-03-09 20:19:04 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2021-03-09 20:19:04 (GMT) |
commit | 6d239fc41ef5efa82c56d8aa7890e798df4245b0 (patch) | |
tree | 1f892b75f6316e092d2304bcb052b04a502215f0 | |
parent | 79b0aa571db9af191858391dbb28956c6fcbef4e (diff) | |
download | hdf5-6d239fc41ef5efa82c56d8aa7890e798df4245b0.zip hdf5-6d239fc41ef5efa82c56d8aa7890e798df4245b0.tar.gz hdf5-6d239fc41ef5efa82c56d8aa7890e798df4245b0.tar.bz2 |
Adds DLLVAR macros to allow exporting symbols on Windows
-rw-r--r-- | src/H5FDvfd_swmr_private.h | 4 | ||||
-rw-r--r-- | test/vfd_swmr_common.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/H5FDvfd_swmr_private.h b/src/H5FDvfd_swmr_private.h index e2270b9..da10f94 100644 --- a/src/H5FDvfd_swmr_private.h +++ b/src/H5FDvfd_swmr_private.h @@ -56,12 +56,12 @@ typedef struct eot_queue_entry { TAILQ_ENTRY(eot_queue_entry) link; } eot_queue_entry_t; -extern unsigned int vfd_swmr_api_entries_g; +H5_DLLVAR unsigned int vfd_swmr_api_entries_g; /* The head of the EOT queue */ typedef TAILQ_HEAD(eot_queue, eot_queue_entry) eot_queue_t; -extern eot_queue_t eot_queue_g; +H5_DLLVAR eot_queue_t eot_queue_g; /***************************************/ /* Library-private Function Prototypes */ diff --git a/test/vfd_swmr_common.h b/test/vfd_swmr_common.h index e04020a..9e77471 100644 --- a/test/vfd_swmr_common.h +++ b/test/vfd_swmr_common.h @@ -95,6 +95,6 @@ H5TEST_DLL int fetch_env_ulong(const char *, unsigned long, unsigned long *); } #endif -extern int verbosity; +H5TEST_DLLVAR int verbosity; #endif /* SWMR_COMMON_H */ |