summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2022-08-01 18:45:04 (GMT)
committerGitHub <noreply@github.com>2022-08-01 18:45:04 (GMT)
commitea13de1bb0aba8a97c75f10343dc4c792193b215 (patch)
tree93df4bf0f9d6d84f0a6abb6251a3e1f162f51946 /src
parentecab3d9c2afbf1b838634317b45876802182983c (diff)
downloadhdf5-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.
Diffstat (limited to 'src')
-rw-r--r--src/H5win32defs.h1
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)