diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2018-12-16 04:02:37 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2018-12-16 04:02:37 (GMT) |
commit | 1b5190011bde5f2f47b01429cd97c11ade66f911 (patch) | |
tree | 177cc2b7909aa06fde3ad4bd26f0f1384bc66b63 | |
parent | bc0a08d997b1096e0fc51d6d5d52febc655f069d (diff) | |
download | hdf5-1b5190011bde5f2f47b01429cd97c11ade66f911.zip hdf5-1b5190011bde5f2f47b01429cd97c11ade66f911.tar.gz hdf5-1b5190011bde5f2f47b01429cd97c11ade66f911.tar.bz2 |
Added #define to use strtok_s instead of strtok_r on Windows.
-rw-r--r-- | src/H5win32defs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5win32defs.h b/src/H5win32defs.h index 4522228..c5e41d4 100644 --- a/src/H5win32defs.h +++ b/src/H5win32defs.h @@ -62,6 +62,7 @@ typedef __int64 h5_stat_size_t; #define HDstat(S,B) _stati64(S,B) #define HDstrcasecmp(A,B) _stricmp(A,B) #define HDstrdup(S) _strdup(S) +#define HDstrtok_r(X,Y,Z) strtok_s(X,Y,Z) #define HDtzset() _tzset() #define HDunlink(S) _unlink(S) #define HDwrite(F,M,Z) _write(F,M,Z) |