]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
bring back old glibc workaround
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 12 Feb 2012 08:16:11 +0000 (08:16 +0000)
committerRudolf Polzer <divverent@alientrap.org>
Sun, 12 Feb 2012 08:46:42 +0000 (09:46 +0100)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11683 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=6744466ae09f99384c8957c1622b21b351b0fb69

image_png.c

index 3965a50e1ca8ea6fdb5299943ed70838438c34d3..427dfd2db706fbcfa48fda7b68892e243714bd51 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);