Skip to content

Commit 7738d8d

Browse files
committed
Drop unused GD defines
These are not used in the bundled libgd, and not used in config.m4 either. Closes GH-7681.
1 parent 71b2f46 commit 7738d8d

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

ext/gd/config.w32

-19
Original file line numberDiff line numberDiff line change
@@ -57,37 +57,18 @@ if (PHP_GD != "no") {
5757
AC_DEFINE('HAVE_LIBGD', 1, 'GD support');
5858
ADD_FLAG("CFLAGS_GD", " \
5959
/D PHP_GD_EXPORTS=1 \
60-
/D HAVE_GD_DYNAMIC_CTX_EX=1 \
6160
/D HAVE_GD_BUNDLED=1 \
62-
/D HAVE_GD_GD2 \
63-
/D HAVE_GD_GIF_READ=1 \
64-
/D HAVE_GD_GIF_CREATE=1 \
65-
/D HAVE_GDIMAGECOLORRESOLVE=1 \
66-
/D HAVE_GD_IMAGESETBRUSH=1 \
67-
/D HAVE_GD_IMAGESETTILE=1 \
68-
/D HAVE_GD_FONTCACHESHUTDOWN=1 \
69-
/D HAVE_GD_FONTMUTEX=1 \
7061
/D HAVE_LIBFREETYPE=1 \
7162
/D HAVE_GD_JPG \
7263
/D HAVE_GD_PNG \
73-
/D HAVE_GD_STRINGFTEX=1 \
74-
/D HAVE_GD_STRINGTTF=1 \
75-
/D HAVE_GD_WBMP \
76-
/D HAVE_GD_XBM \
7764
/D HAVE_GD_XPM \
7865
/D HAVE_GD_FREETYPE=1 \
7966
/D HAVE_GD_BMP \
8067
/D HAVE_GD_TGA \
81-
/D HAVE_LIBGD13=1 \
82-
/D HAVE_LIBGD15=1 \
83-
/D HAVE_LIBGD20=1 \
84-
/D HAVE_LIBGD204=1 \
8568
/D HAVE_LIBJPEG \
8669
/D HAVE_LIBPNG \
8770
/D HAVE_XPM \
88-
/D HAVE_COLORCLOSESTHWB \
8971
/D HAVE_GD_GET_INTERPOLATION \
90-
/D USE_GD_IOCTX \
9172
/D MSWIN32 \
9273
");
9374
if (ICC_TOOLSET) {

0 commit comments

Comments
 (0)