diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2020-08-13 18:43:14 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2020-08-13 18:43:14 (GMT) |
commit | 8dabc3f67fcb80da642a2a1a93825e440a849252 (patch) | |
tree | b46682caf77b333aae596ca82736e912b784f167 | |
parent | e291fd31fd480dc4900d056e0e08df002e85a3f2 (diff) | |
parent | b806f3e9acad6261438dacecbb11a87bcd644e72 (diff) | |
download | hdf5-8dabc3f67fcb80da642a2a1a93825e440a849252.zip hdf5-8dabc3f67fcb80da642a2a1a93825e440a849252.tar.gz hdf5-8dabc3f67fcb80da642a2a1a93825e440a849252.tar.bz2 |
Merge pull request #2762 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop_minor to develop
* commit 'b806f3e9acad6261438dacecbb11a87bcd644e72':
Tweak to hide unused threadsafe callback in non-threadsafe builds
-rw-r--r-- | test/thread_id.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/thread_id.c b/test/thread_id.c index 24aef80..0c804ed 100644 --- a/test/thread_id.c +++ b/test/thread_id.c @@ -25,6 +25,8 @@ */ #include "testhdf5.h" +#if defined(H5_HAVE_THREADSAFE) && !defined(H5_HAVE_WIN_THREADS) + static void my_errx(int, const char *, ...) H5_ATTR_FORMAT(printf, 2, 3); static void @@ -40,8 +42,6 @@ my_errx(int code, const char *fmt, ...) HDexit(code); } -#if defined(H5_HAVE_THREADSAFE) && !defined(H5_HAVE_WIN_THREADS) - #if defined(H5_HAVE_DARWIN) typedef struct _pthread_barrierattr { |