From 2ae3a8a712890fa8dd4223c4c68a9fe88b42a5c5 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 8 Oct 2012 11:19:20 +0200 Subject: [PATCH] Temporary fix for changes in 2012-10-08T08:23:13Z!dancol@dancol.org. --- src/image.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/image.c b/src/image.c index 6fc459f0bbc..8139979bda9 100644 --- a/src/image.c +++ b/src/image.c @@ -3240,13 +3240,13 @@ init_xpm_functions (void) #endif /* WINDOWSNT */ -#ifdef HAVE_NTGUI +#if defined (HAVE_NTGUI) && !defined (WINDOWSNT) /* Glue for code below */ #define fn_XpmReadFileToImage XpmReadFileToImage #define fn_XpmCreateImageFromBuffer XpmCreateImageFromBuffer #define fn_XImageFree XImageFree #define fn_XpmFreeAttributes XpmFreeAttributes -#endif /* HAVE_NTGUI */ +#endif /* HAVE_NTGUI && !WINDOWSNT */ /* Value is true if COLOR_SYMBOLS is a valid color symbols list for XPM images. Such a list must consist of conses whose car and @@ -6061,9 +6061,11 @@ jpeg_image_p (Lisp_Object object) #define __WIN32__ 1 #endif +#if 0 /* FIXME */ /* Work around conflict between jpeg boolean and rpcndr.h under Windows. */ #define boolean jpeg_boolean +#endif #include #include -- 2.11.4.GIT