Remove superfluous HAVE_GD_BUNDLED checks

If we're compiling the bundled libgd, `HAVE_GD_BUNDLED` is set, so
there is no need to check for this macro again.
This commit is contained in:
Christoph M. Becker 2019-07-22 15:10:08 +02:00
parent 72b9105d30
commit f8202b5513
3 changed files with 4 additions and 17 deletions

View file

@ -1,10 +1,5 @@
#if HAVE_GD_BUNDLED
# include "gd.h"
# include "gdhelpers.h"
#else
# include <gd.h>
# include "libgd/gdhelpers.h"
#endif
#include "gd.h"
#include "gdhelpers.h"
#include "gd_intern.h"
#include "php.h"

View file

@ -1,8 +1,4 @@
#if HAVE_GD_BUNDLED
# include "gd.h"
#else
# include <gd.h>
#endif
#include "gd.h"
#include "gd_intern.h"

View file

@ -1,8 +1,4 @@
#if HAVE_GD_BUNDLED
# include "gd.h"
#else
# include <gd.h>
#endif
#include "gd.h"
#include "gd_intern.h"
#include <math.h>