summaryrefslogtreecommitdiff
path: root/media-libs/freeimage/files/freeimage-3.18.0-libjpeg9.patch
blob: fe344229520fd029cbbdbdb5676373ccc96a6a8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Bug: https://bugs.gentoo.org/647422
Upstream Patch: https://sourceforge.net/p/freeimage/patches/130/

diff -Naur a/Source/FreeImage.h b/Source/FreeImage.h
--- a/Source/FreeImage.h	2018-03-24 23:24:11.066695395 -0400
+++ b/Source/FreeImage.h	2018-03-24 23:26:35.945391182 -0400
@@ -117,12 +117,17 @@
 #ifndef _WINDOWS_
 #define _WINDOWS_
 
+#if JPEG_LIB_VERSION < 90
+
 #ifndef FALSE
 #define FALSE 0
 #endif
 #ifndef TRUE
 #define TRUE 1
 #endif
+
+#endif
+
 #ifndef NULL
 #define NULL 0
 #endif