diff --git a/ext/gd/config.w32 b/ext/gd/config.w32 index 96c43dd90e583..e4be16cb406b4 100644 --- a/ext/gd/config.w32 +++ b/ext/gd/config.w32 @@ -88,7 +88,6 @@ if (PHP_GD != "no") { /D HAVE_COLORCLOSESTHWB \ /D HAVE_GD_GET_INTERPOLATION \ /D USE_GD_IOCTX \ -/D MSWIN32 \ "); if (ICC_TOOLSET) { ADD_FLAG("LDFLAGS_GD", "/nodefaultlib:libcmt"); diff --git a/ext/gd/libgd/gdft.c b/ext/gd/libgd/gdft.c index b23b7563b4c25..554a656e625c9 100644 --- a/ext/gd/libgd/gdft.c +++ b/ext/gd/libgd/gdft.c @@ -12,7 +12,7 @@ #include "gd.h" #include "gdhelpers.h" -#ifndef MSWIN32 +#ifndef _WIN32 #include #else #include