From f7e46b97e92e142182a03a4801fe308bbdca76f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Thu, 14 Jun 2018 14:27:06 +0200 Subject: [PATCH] atari: work around 'longjmp' undeclared error This seems to be due to glibc headers being installed instead of MiNT ones... --- src/fileformats.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/fileformats.c b/src/fileformats.c index 4dd04d40..c180d139 100644 --- a/src/fileformats.c +++ b/src/fileformats.c @@ -27,6 +27,9 @@ ///@file fileformats.c /// Saving and loading different picture formats. +#ifdef __MINT__ +#undef _GNU_SOURCE +#endif #include #ifndef __no_pnglib__ #include