summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ad994d0)
raw | patch | inline | side by side (parent: ad994d0)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 1 May 2005 11:02:40 +0000 (11:02 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 1 May 2005 11:02:40 +0000 (11:02 +0000) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@465 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/pngsize.c | patch | blob | history |
diff --git a/src/pngsize.c b/src/pngsize.c
index ed3666a31526ba82f1ea561c403c566b665ed7cc..5aa3540049cd5f422f268d915d62e219ae1154ce 100644 (file)
--- a/src/pngsize.c
+++ b/src/pngsize.c
(*width)=0;
(*height)=0;
+/* this is to make compile on aix work since they seem to define jmpbuf
+ to be _jmpbuf which breaks compilation */
+
+#ifdef jmpbuf
+#undef jmpbuf
+#endif
+
if (setjmp(png_read_ptr->jmpbuf)){
png_destroy_read_struct(&png_read_ptr, &info_ptr, (png_infopp)NULL);
return 0;