diff options
Diffstat (limited to 'lib/cximage-6.0/CxImage/ximapng.h')
-rw-r--r-- | lib/cximage-6.0/CxImage/ximapng.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/cximage-6.0/CxImage/ximapng.h b/lib/cximage-6.0/CxImage/ximapng.h index e540bb0ed9..db419356e2 100644 --- a/lib/cximage-6.0/CxImage/ximapng.h +++ b/lib/cximage-6.0/CxImage/ximapng.h @@ -69,13 +69,8 @@ protected: static void PNGAPI user_error_fn(png_structp png_ptr,png_const_charp error_msg) { -#if PNG_LIBPNG_VER > 10399 - strncpy((char*)png_get_error_ptr(png_ptr),error_msg,255); - longjmp(png_jmpbuf(png_ptr), 1); -#else strncpy((char*)png_ptr->error_ptr,error_msg,255); longjmp(png_ptr->jmpbuf, 1); -#endif } }; |