7 +// v4.2 removed PrintGifError in favor of GifErrorString, but with a different
9 +#if defined(GIFLIB_MAJOR) && defined(GIFLIB_MINOR) && (GIFLIB_MAJOR == 4) && (GIFLIB_MINOR == 2)
10 +static void PrintGifError()
12 + fprintf(stderr, "GIF library error: %s\n", GifErrorString());
15 #define PrintGifError(e) PrintGifError()
16 #define DGifOpenFileHandle(x,e) DGifOpenFileHandle(x)
17 #define DGifCloseFile(x,e) DGifCloseFile(x)