From ea13de1bb0aba8a97c75f10343dc4c792193b215 Mon Sep 17 00:00:00 2001 From: Dana Robinson <43805+derobins@users.noreply.github.com> Date: Mon, 1 Aug 2022 11:45:04 -0700 Subject: 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. --- src/H5win32defs.h | 1 - 1 file changed, 1 deletion(-) 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) -- cgit v0.12