--- src/export.cpp.orig 2016-06-19 10:01:24.000000000 -0700 +++ src/export.cpp 2016-12-17 13:57:05.000000000 -0700 @@ -41,6 +41,8 @@ #if MGL_HAVE_GIF #include <gif_lib.h> +#undef TRUE +#undef FALSE #endif //----------------------------------------------------------------------------- int MGL_NO_EXPORT mgl_pnga_save(const char *fname, int w, int h, unsigned char **p)