bring back old glibc workaround
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 12 Feb 2012 08:16:11 +0000 (08:16 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 12 Feb 2012 08:16:11 +0000 (08:16 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11683 d7cf8633-e32d-0410-b094-e92efae38249

image_png.c

index 3965a50..427dfd2 100644 (file)
@@ -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);