summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2019-11-13 19:38:47 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2019-11-13 19:38:47 (GMT)
commitb0dd6184bcaad08465b564ccd6de62bebad9292a (patch)
treecdf8a56ee4ab7f9d1dc94ccaefed40a443b92c24
parent560db03d66244a5d9f74a9c2e6a1341e21d51e57 (diff)
downloadhdf5-b0dd6184bcaad08465b564ccd6de62bebad9292a.zip
hdf5-b0dd6184bcaad08465b564ccd6de62bebad9292a.tar.gz
hdf5-b0dd6184bcaad08465b564ccd6de62bebad9292a.tar.bz2
Undo my changes to the HD macros, hadn't really intended those to be on
this branch....
-rw-r--r--src/H5private.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/H5private.h b/src/H5private.h
index 8cc6b30..b5ee984 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -1373,25 +1373,25 @@ typedef off_t h5_stat_size_t;
#define HDstrcpy(X,Y) strcpy(X,Y)
#endif /* HDstrcpy */
#ifndef HDstrcspn
- #define HDstrcspn strcspn
+ #define HDstrcspn(X,Y) strcspn(X,Y)
#endif /* HDstrcspn */
#ifndef HDstrerror
- #define HDstrerror strerror
+ #define HDstrerror(N) strerror(N)
#endif /* HDstrerror */
#ifndef HDstrftime
- #define HDstrftime strftime
+ #define HDstrftime(S,Z,F,T) strftime(S,Z,F,T)
#endif /* HDstrftime */
#ifndef HDstrlen
- #define HDstrlen strlen
+ #define HDstrlen(S) strlen(S)
#endif /* HDstrlen */
#ifndef HDstrncat
- #define HDstrncat strncat
+ #define HDstrncat(X,Y,Z) strncat(X,Y,Z)
#endif /* HDstrncat */
#ifndef HDstrncmp
- #define HDstrncmp strncmp
+ #define HDstrncmp(X,Y,Z) strncmp(X,Y,Z)
#endif /* HDstrncmp */
#ifndef HDstrncpy
- #define HDstrncpy strncpy
+ #define HDstrncpy(X,Y,Z) strncpy(X,Y,Z)
#endif /* HDstrncpy */
#ifndef HDstrpbrk
#define HDstrpbrk(X,Y) strpbrk(X,Y)