Skip to content

Commit 8fe4ba1

Browse files
petkremicollet
authored andcommitted
Remove redundant _WIN32 compile definition
_WIN32 is defined by all compilers on Windows when targeting 32-bit ARM, 64-bit ARM, x86, or x64. This removes redundant definition.
1 parent d66c502 commit 8fe4ba1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.w32

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ if (PHP_ZIP != "no") {
4545
configure_module_dirname = old_conf_dir;
4646

4747
AC_DEFINE('HAVE_ZIP', 1);
48-
ADD_FLAG("CFLAGS_ZIP", "/D _WIN32 /D HAVE_SET_MTIME /D HAVE_ENCRYPTION /D HAVE_LIBZIP_VERSION /D HAVE_PROGRESS_CALLBACK");
48+
ADD_FLAG("CFLAGS_ZIP", "/D HAVE_SET_MTIME /D HAVE_ENCRYPTION /D HAVE_LIBZIP_VERSION /D HAVE_PROGRESS_CALLBACK");
4949
if ((PHP_VERSION == 7 && PHP_MINOR_VERSION >= 4) || PHP_VERSION == 8) {
5050
ADD_FLAG("CFLAGS_ZIP", " /D HAVE_CANCEL_CALLBACK");
5151
}

0 commit comments

Comments
 (0)