diff --git a/src/H5TSatomic.c b/src/H5TSatomic.c index 642a1b47cb3..1e3798cd026 100644 --- a/src/H5TSatomic.c +++ b/src/H5TSatomic.c @@ -162,4 +162,6 @@ H5TS_atomic_destroy_uint(H5TS_atomic_uint_t *obj) FUNC_LEAVE_NOAPI_VOID_NAMECHECK_ONLY } /* end H5TS_atomic_destroy_uint() */ +#endif /* H5_HAVE_STDATOMIC_H */ + #endif /* H5_HAVE_THREADS */