aboutsummaryrefslogtreecommitdiffstats
path: root/src/image.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/image.c')
-rw-r--r--src/image.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/image.c b/src/image.c
index ca2ef67c0b9..bb3290a89f6 100644
--- a/src/image.c
+++ b/src/image.c
@@ -7203,21 +7203,8 @@ gif_image_p (Lisp_Object object)
7203 7203
7204#ifdef HAVE_GIF 7204#ifdef HAVE_GIF
7205 7205
7206/* Giflib before 5.0 didn't define these macros. */
7207#ifndef GIFLIB_MAJOR
7208#define GIFLIB_MAJOR 4
7209#endif
7210
7211#if defined (HAVE_NTGUI) 7206#if defined (HAVE_NTGUI)
7212 7207
7213/* Giflib before 5.0 didn't define these macros (used only if HAVE_NTGUI). */
7214#ifndef GIFLIB_MINOR
7215#define GIFLIB_MINOR 0
7216#endif
7217#ifndef GIFLIB_RELEASE
7218#define GIFLIB_RELEASE 0
7219#endif
7220
7221/* winuser.h might define DrawText to DrawTextA or DrawTextW. 7208/* winuser.h might define DrawText to DrawTextA or DrawTextW.
7222 Undefine before redefining to avoid a preprocessor warning. */ 7209 Undefine before redefining to avoid a preprocessor warning. */
7223#ifdef DrawText 7210#ifdef DrawText
@@ -7228,12 +7215,25 @@ gif_image_p (Lisp_Object object)
7228#include <gif_lib.h> 7215#include <gif_lib.h>
7229#undef DrawText 7216#undef DrawText
7230 7217
7218/* Giflib before 5.0 didn't define these macros (used only if HAVE_NTGUI). */
7219#ifndef GIFLIB_MINOR
7220#define GIFLIB_MINOR 0
7221#endif
7222#ifndef GIFLIB_RELEASE
7223#define GIFLIB_RELEASE 0
7224#endif
7225
7231#else /* HAVE_NTGUI */ 7226#else /* HAVE_NTGUI */
7232 7227
7233#include <gif_lib.h> 7228#include <gif_lib.h>
7234 7229
7235#endif /* HAVE_NTGUI */ 7230#endif /* HAVE_NTGUI */
7236 7231
7232/* Giflib before 5.0 didn't define these macros. */
7233#ifndef GIFLIB_MAJOR
7234#define GIFLIB_MAJOR 4
7235#endif
7236
7237#ifdef WINDOWSNT 7237#ifdef WINDOWSNT
7238 7238
7239/* GIF library details. */ 7239/* GIF library details. */