* image.c (init_tiff_functions, init_imagemagick_functions)

(init_svg_functions): Fix cygw32 build break by using these
functions only when WINDOWSNT _and_ HAVE_NTGUI.
This commit is contained in:
Daniel Colascione 2012-10-14 15:25:37 -08:00
parent 1a9653aa8c
commit 33d4113cf5
2 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2012-10-14 Daniel Colascione <dancol@dancol.org>
* image.c (init_tiff_functions, init_imagemagick_functions)
(init_svg_functions): Fix cygw32 build break by using these
functions only when WINDOWSNT _and_ HAVE_NTGUI.
2012-10-14 Jan Djärv <jan.h.d@swipnet.se>
* nsterm.m (ns_select): Count fd:s in writefs also (Bug#12422).

View file

@ -6577,7 +6577,7 @@ static const struct image_keyword tiff_format[TIFF_LAST] =
{":index", IMAGE_NON_NEGATIVE_INTEGER_VALUE, 0}
};
#ifdef HAVE_NTGUI
#if defined HAVE_NTGUI && defined WINDOWSNT
static bool init_tiff_functions (void);
#else
#define init_tiff_functions NULL
@ -7529,7 +7529,7 @@ static struct image_keyword imagemagick_format[IMAGEMAGICK_LAST] =
{":crop", IMAGE_DONT_CHECK_VALUE_TYPE, 0}
};
#ifdef HAVE_NTGUI
#if defined HAVE_NTGUI && defined WINDOWSNT
static bool init_imagemagick_functions (void);
#else
#define init_imagemagick_functions NULL
@ -8083,7 +8083,7 @@ static const struct image_keyword svg_format[SVG_LAST] =
{":background", IMAGE_STRING_OR_NIL_VALUE, 0}
};
#ifdef HAVE_NTGUI
#if defined HAVE_NTGUI && defined WINDOWSNT
static bool init_svg_functions (void);
#else
#define init_svg_functions NULL