Mercurial > hg > release > icedtea7-forest-2.5 > jdk
changeset 8150:00844b599771
PR2225: giflib 5.1 conditional excludes 6.0, 7.0, etc.
Summary: Future-proof the giflib 5.1 support
author | andrew |
---|---|
date | Tue, 10 Feb 2015 16:24:28 +0000 |
parents | e6e82c628fe4 |
children | e2cd616bdbcc |
files | src/share/native/sun/awt/splashscreen/splashscreen_gif.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/native/sun/awt/splashscreen/splashscreen_gif.c Thu Feb 05 02:05:14 2015 +0000 +++ b/src/share/native/sun/awt/splashscreen/splashscreen_gif.c Tue Feb 10 16:24:28 2015 +0000 @@ -310,7 +310,7 @@ free(pBitmapBits); free(pOldBitmapBits); -#if GIFLIB_MAJOR >= 5 && GIFLIB_MINOR >= 1 +#if GIFLIB_MAJOR > 5 || (GIFLIB_MAJOR == 5 && GIFLIB_MINOR >= 1) if (DGifCloseFile(gif, NULL) == GIF_ERROR) return 0; #else