mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
Use the standard _WIN32 instead of the custom MSWIN32 in libgd
We're already checking `_WIN32` elsewhere in our bundled libgd, so it makes no sense to also have a custom `MSWIN32`. Closes GH-7682.
This commit is contained in:
parent
7738d8dd02
commit
243966177e
@ -69,7 +69,6 @@ if (PHP_GD != "no") {
|
||||
/D HAVE_LIBPNG \
|
||||
/D HAVE_XPM \
|
||||
/D HAVE_GD_GET_INTERPOLATION \
|
||||
/D MSWIN32 \
|
||||
");
|
||||
if (ICC_TOOLSET) {
|
||||
ADD_FLAG("LDFLAGS_GD", "/nodefaultlib:libcmt");
|
||||
|
@ -12,7 +12,7 @@
|
||||
#include "gd.h"
|
||||
#include "gdhelpers.h"
|
||||
|
||||
#ifndef MSWIN32
|
||||
#ifndef _WIN32
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#include <io.h>
|
||||
|
Loading…
Reference in New Issue
Block a user