]> granicus.if.org Git - graphviz/commitdiff
should be #ifdef
authorellson <devnull@localhost>
Tue, 18 Oct 2005 21:10:46 +0000 (21:10 +0000)
committerellson <devnull@localhost>
Tue, 18 Oct 2005 21:10:46 +0000 (21:10 +0000)
lib/gd/gdparttopng.c

index 0ce55f29a847cbdff704d8563aa5db67a65bf862..67ac7ba602ebc80e288e51929af70cce01eb6340 100644 (file)
@@ -39,7 +39,7 @@ main (int argc, char **argv)
 
   printf ("Extracting from (%d, %d), size is %dx%d\n", x, y, w, h);
 
-#if HAVE_LIBZ
+#ifdef HAVE_LIBZ
   im = gdImageCreateFromGd2Part (in, x, y, w, h);
 #else
   im = NULL;