diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2022-08-01 18:45:04 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-01 18:45:04 (GMT) |
commit | ea13de1bb0aba8a97c75f10343dc4c792193b215 (patch) | |
tree | 93df4bf0f9d6d84f0a6abb6251a3e1f162f51946 | |
parent | ecab3d9c2afbf1b838634317b45876802182983c (diff) | |
download | hdf5-ea13de1bb0aba8a97c75f10343dc4c792193b215.zip hdf5-ea13de1bb0aba8a97c75f10343dc4c792193b215.tar.gz hdf5-ea13de1bb0aba8a97c75f10343dc4c792193b215.tar.bz2 |
Removes the Win32 macro for strdup (#1960)
Windows has strdup() so there's no need for this. We already ignore all
the other "underscore" string functions.
-rw-r--r-- | src/H5win32defs.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/H5win32defs.h b/src/H5win32defs.h index 9e8945f..5f384bb 100644 --- a/src/H5win32defs.h +++ b/src/H5win32defs.h @@ -82,7 +82,6 @@ struct timezone { #define HDsleep(S) Sleep(S * 1000) #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) |