changeset 2984:db7918fff199

PR1319: Use #if not #ifdef in giflib 5 patch. 2013-04-16 Andrew John Hughes <gnu.andrew@redhat.com> * patches/pr1319-support_giflib_5.patch, Use #if not #ifdef.
author Andrew John Hughes <gnu.andrew@redhat.com>
date Tue, 16 Apr 2013 17:01:34 +0100
parents 44dda0c0c865
children ef687bd533e2
files ChangeLog patches/pr1319-support_giflib_5.patch
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Apr 14 21:05:17 2013 +0100
+++ b/ChangeLog	Tue Apr 16 17:01:34 2013 +0100
@@ -1,3 +1,8 @@
+2013-04-16  Andrew John Hughes  <gnu.andrew@redhat.com>
+
+	* patches/pr1319-support_giflib_5.patch,
+	Use #if not #ifdef.
+
 2013-04-12  Andrew John Hughes  <gnu.andrew@redhat.com>
 
 	PR1336: Bootstrap failure on Fedora 17/18
--- a/patches/pr1319-support_giflib_5.patch	Sun Apr 14 21:05:17 2013 +0100
+++ b/patches/pr1319-support_giflib_5.patch	Tue Apr 16 17:01:34 2013 +0100
@@ -12,7 +12,7 @@
  int
  SplashDecodeGifStream(Splash * splash, SplashStream * stream)
  {
-+#ifdef GIFLIB_MAJOR >= 5
++#if GIFLIB_MAJOR >= 5
 +    int error = 0;
 +    GifFileType *gif = DGifOpen((void *) stream, SplashStreamGifInputFunc, &error);
 +