From 164623e2d82a5209985c2d557c5d6939a8b4e5f3 Mon Sep 17 00:00:00 2001 From: divverent Date: Sun, 12 Feb 2012 08:16:11 +0000 Subject: [PATCH] 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 --- image_png.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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); -- 2.39.2