shithub: jbig2

Download patch

ref: e7ee4564585ddd8cd3ab20af5df840d818be0751
parent: 21b56ef9c96211883841f4b55342c805a09619a4
author: giles <giles@ded80894-8fb9-0310-811b-c03f3676ab4d>
date: Tue Jul 9 06:39:08 EDT 2002

protect definitions of TRUE/FALSE


git-svn-id: http://svn.ghostscript.com/jbig2dec/trunk@131 ded80894-8fb9-0310-811b-c03f3676ab4d

--- a/jbig2_priv.h
+++ b/jbig2_priv.h
@@ -8,7 +8,7 @@
     the Free Software Foundation; either version 2 of the License, or
     (at your option) any later version.
         
-    $Id: jbig2_priv.h,v 1.14 2002/07/09 09:45:32 giles Exp $
+    $Id: jbig2_priv.h,v 1.15 2002/07/09 10:39:08 giles Exp $
     
     shared library internals
 */
@@ -16,8 +16,12 @@
 typedef uint8_t byte;
 typedef int bool;
 
+#ifndef TRUE
 #define TRUE 1
+#endif
+#ifndef FALSE
 #define FALSE 0
+#endif
 
 #ifndef NULL
 #define NULL ((void*)0)