mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-13 16:47:58 +08:00
Tweak to hide unused threadsafe callback in non-threadsafe builds
This commit is contained in:
parent
e291fd31fd
commit
b806f3e9ac
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user