diff options
| author | Daniel Colascione | 2012-10-14 15:25:37 -0800 |
|---|---|---|
| committer | Daniel Colascione | 2012-10-14 15:25:37 -0800 |
| commit | 33d4113cf5da783b5b1ab559587640f39a0831dc (patch) | |
| tree | 91c6e5eff91663bf593c1d185468c4129761e376 /src | |
| parent | 1a9653aa8c2d31d5951345643944f7e2a8df8ca2 (diff) | |
| download | emacs-33d4113cf5da783b5b1ab559587640f39a0831dc.tar.gz emacs-33d4113cf5da783b5b1ab559587640f39a0831dc.zip | |
* 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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/image.c | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 0b3d02f75ac..bb7ddcfd39e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2012-10-14 Daniel Colascione <dancol@dancol.org> | ||
| 2 | |||
| 3 | * image.c (init_tiff_functions, init_imagemagick_functions) | ||
| 4 | (init_svg_functions): Fix cygw32 build break by using these | ||
| 5 | functions only when WINDOWSNT _and_ HAVE_NTGUI. | ||
| 6 | |||
| 1 | 2012-10-14 Jan Djärv <jan.h.d@swipnet.se> | 7 | 2012-10-14 Jan Djärv <jan.h.d@swipnet.se> |
| 2 | 8 | ||
| 3 | * nsterm.m (ns_select): Count fd:s in writefs also (Bug#12422). | 9 | * nsterm.m (ns_select): Count fd:s in writefs also (Bug#12422). |
diff --git a/src/image.c b/src/image.c index d52c3a29a27..538ae2b7772 100644 --- a/src/image.c +++ b/src/image.c | |||
| @@ -6577,7 +6577,7 @@ static const struct image_keyword tiff_format[TIFF_LAST] = | |||
| 6577 | {":index", IMAGE_NON_NEGATIVE_INTEGER_VALUE, 0} | 6577 | {":index", IMAGE_NON_NEGATIVE_INTEGER_VALUE, 0} |
| 6578 | }; | 6578 | }; |
| 6579 | 6579 | ||
| 6580 | #ifdef HAVE_NTGUI | 6580 | #if defined HAVE_NTGUI && defined WINDOWSNT |
| 6581 | static bool init_tiff_functions (void); | 6581 | static bool init_tiff_functions (void); |
| 6582 | #else | 6582 | #else |
| 6583 | #define init_tiff_functions NULL | 6583 | #define init_tiff_functions NULL |
| @@ -7529,7 +7529,7 @@ static struct image_keyword imagemagick_format[IMAGEMAGICK_LAST] = | |||
| 7529 | {":crop", IMAGE_DONT_CHECK_VALUE_TYPE, 0} | 7529 | {":crop", IMAGE_DONT_CHECK_VALUE_TYPE, 0} |
| 7530 | }; | 7530 | }; |
| 7531 | 7531 | ||
| 7532 | #ifdef HAVE_NTGUI | 7532 | #if defined HAVE_NTGUI && defined WINDOWSNT |
| 7533 | static bool init_imagemagick_functions (void); | 7533 | static bool init_imagemagick_functions (void); |
| 7534 | #else | 7534 | #else |
| 7535 | #define init_imagemagick_functions NULL | 7535 | #define init_imagemagick_functions NULL |
| @@ -8083,7 +8083,7 @@ static const struct image_keyword svg_format[SVG_LAST] = | |||
| 8083 | {":background", IMAGE_STRING_OR_NIL_VALUE, 0} | 8083 | {":background", IMAGE_STRING_OR_NIL_VALUE, 0} |
| 8084 | }; | 8084 | }; |
| 8085 | 8085 | ||
| 8086 | #ifdef HAVE_NTGUI | 8086 | #if defined HAVE_NTGUI && defined WINDOWSNT |
| 8087 | static bool init_svg_functions (void); | 8087 | static bool init_svg_functions (void); |
| 8088 | #else | 8088 | #else |
| 8089 | #define init_svg_functions NULL | 8089 | #define init_svg_functions NULL |