summaryrefslogtreecommitdiffstats
path: root/src/pngenc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pngenc.cpp')
-rw-r--r--src/pngenc.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pngenc.cpp b/src/pngenc.cpp
index 5fb20d5..ce36b95 100644
--- a/src/pngenc.cpp
+++ b/src/pngenc.cpp
@@ -30,6 +30,8 @@
#include "pngenc.h"
#include "message.h"
+#undef jmpbuf
+
static void user_error_fn(png_structp, png_const_charp error_msg)
{
err("%s\n", error_msg);