Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 546202
Collapse All | Expand All

(-)rd/read-gif.c (+8 lines)
Lines 14-19 Link Here
14
}
14
}
15
#else
15
#else
16
#define GIF5DATA(x)
16
#define GIF5DATA(x)
17
// v4.2 removed PrintGifError in favor of GifErrorString, but with a different
18
// prototype than v5
19
#if defined(GIFLIB_MAJOR) && defined(GIFLIB_MINOR) && (GIFLIB_MAJOR == 4) && (GIFLIB_MINOR == 2)
20
static void PrintGifError()
21
{
22
    fprintf(stderr, "GIF library error: %s\n", GifErrorString());
23
}
24
#endif
17
#define PrintGifError(e)	PrintGifError()
25
#define PrintGifError(e)	PrintGifError()
18
#define DGifOpenFileHandle(x,e)	DGifOpenFileHandle(x)
26
#define DGifOpenFileHandle(x,e)	DGifOpenFileHandle(x)
19
#define DGifCloseFile(x,e)	DGifCloseFile(x)
27
#define DGifCloseFile(x,e)	DGifCloseFile(x)

Return to bug 546202