summaryrefslogtreecommitdiffstats
path: root/test/thread_id.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-08-14 15:42:39 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-08-14 15:42:39 (GMT)
commit30678596f2bf9605ec510dc91adb87d1ac5a71b3 (patch)
treeff6b9baea4ca3b4033fe0bcec1aaf13834177a45 /test/thread_id.c
parent7861784214be442052d7eaf5892e9d4b3debc7aa (diff)
downloadhdf5-30678596f2bf9605ec510dc91adb87d1ac5a71b3.zip
hdf5-30678596f2bf9605ec510dc91adb87d1ac5a71b3.tar.gz
hdf5-30678596f2bf9605ec510dc91adb87d1ac5a71b3.tar.bz2
Windows thread-safe fixes from develop
Diffstat (limited to 'test/thread_id.c')
-rw-r--r--test/thread_id.c4
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 {