From: divverent Date: Sun, 12 Feb 2012 08:16:11 +0000 (+0000) Subject: bring back old glibc workaround X-Git-Tag: xonotic-v0.6.0~32 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=164623e2d82a5209985c2d557c5d6939a8b4e5f3;p=xonotic%2Fdarkplaces.git bring back old glibc workaround git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11683 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=6744466ae09f99384c8957c1622b21b351b0fb69 --- diff --git a/image_png.c b/image_png.c index 3965a50e..427dfd2d 100644 --- a/image_png.c +++ b/image_png.c @@ -30,7 +30,6 @@ #include "image.h" #include "image_png.h" -/* #ifdef __cplusplus #ifdef WIN64 typedef _JBTYPE *qpng_jmpbuf_t; @@ -42,8 +41,7 @@ typedef __jmp_buf_tag *qpng_jmpbuf_t; #else typedef void *qpng_jmpbuf_t; #endif -*/ -typedef jmp_buf qpng_jmpbuf_t; +// why not: typedef jmp_buf qpng_jmpbuf_t; static void (*qpng_set_sig_bytes) (void*, int); static int (*qpng_sig_cmp) (const unsigned char*, size_t, size_t);