[mapserver-commits] r10740 - sandbox/mapserver6

svn at osgeo.org svn at osgeo.org
Fri Nov 19 10:48:08 EST 2010


Author: tbonfort
Date: 2010-11-19 07:48:07 -0800 (Fri, 19 Nov 2010)
New Revision: 10740

Modified:
   sandbox/mapserver6/mapimageio.c
Log:
correct GIF define


Modified: sandbox/mapserver6/mapimageio.c
===================================================================
--- sandbox/mapserver6/mapimageio.c	2010-11-19 15:42:31 UTC (rev 10739)
+++ sandbox/mapserver6/mapimageio.c	2010-11-19 15:48:07 UTC (rev 10740)
@@ -33,7 +33,7 @@
 #include <assert.h>
 #include "jpeglib.h"
 
-#ifdef USE_GIFLIB
+#ifdef USE_GIF
 #include "gif_lib.h"
 #endif
 
@@ -894,7 +894,7 @@
         return MS_FAILURE;
     }
 }
-#ifdef USE_GIFLIB
+#ifdef USE_GIF
 static char const *gif_error_msg() {
   static char msg[80];
 
@@ -1180,7 +1180,7 @@
     if(png_check_sig(signature,8)) {
          ret = readPNG(path,rb);
     }
-#ifdef USE_GIFLIB
+#ifdef USE_GIF
     else if (!strncmp((char*)signature,"GIF",3)) {
 
        ret = readGIF(path,rb);



More information about the mapserver-commits mailing list