]> granicus.if.org Git - python/commitdiff
(Jack:) Don't define TRUE and FALSE if already defined.
authorGuido van Rossum <guido@python.org>
Fri, 11 Apr 1997 19:19:46 +0000 (19:19 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 11 Apr 1997 19:19:46 +0000 (19:19 +0000)
Python/getopt.c

index c08f07fa03bae0528f2b2710452bdbb0df758afe..80a00ef8bc287150830fddc95e98f2ba6e32f65b 100644 (file)
 #include <string.h>
 
 #define bool   int
+#ifndef TRUE
 #define TRUE   1
+#endif
+#ifndef FALSE
 #define FALSE  0
-
+#endif
 
 bool    opterr = TRUE;          /* generate error messages */
 int     optind = 1;             /* index into argv array   */