summaryrefslogtreecommitdiff
path: root/Build/source/libs/gd/libgd-src/examples/tgaread.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/gd/libgd-src/examples/tgaread.c')
-rw-r--r--Build/source/libs/gd/libgd-src/examples/tgaread.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/Build/source/libs/gd/libgd-src/examples/tgaread.c b/Build/source/libs/gd/libgd-src/examples/tgaread.c
index a8e080782b2..859f4d4254b 100644
--- a/Build/source/libs/gd/libgd-src/examples/tgaread.c
+++ b/Build/source/libs/gd/libgd-src/examples/tgaread.c
@@ -1,4 +1,3 @@
-/* $Id$ */
/*
* You can fetch a set of samples TIFF images here:
* ftp://ftp.remotesensing.org/pub/libtiff/
@@ -44,11 +43,7 @@ int main()
gdImageDestroy(im);
return 1;
}
-#ifdef HAVE_LIBPNG
- gdImagePng(im, fp);
-#else
- printf("No PNG support. Cannot save image.\n");
-#endif
+ gdImagePng(im, fp);
fclose(fp);
gdImageDestroy(im);
}