summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5private.h')
-rw-r--r--src/H5private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5private.h b/src/H5private.h
index dad2d94..06592eb 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -1171,7 +1171,7 @@ typedef off_t h5_stat_size_t;
#define HDpwrite(F,B,C,O) pwrite(F,B,C,O)
#endif /* HDpwrite */
#ifndef HDqsort
- #define HDqsort(M,N,Z,F) qsort(M,N,Z,F)
+ #define HDqsort(M,N,Z,F) do {HDassert(M); qsort(M,N,Z,F);} while(0)
#endif /* HDqsort*/
#ifndef HDraise
#define HDraise(N) raise(N)