diff Python/getopt.c @ 5313:e8996884e8e1 legacy-trunk

(Jack:) Don't define TRUE and FALSE if already defined.
author Guido van Rossum <guido@python.org>
date Fri, 11 Apr 1997 19:19:46 +0000
parents 5ae922cfe404
children f39bee3ff22b
line wrap: on
line diff
--- a/Python/getopt.c	Fri Apr 11 19:18:23 1997 +0000
+++ b/Python/getopt.c	Fri Apr 11 19:19:46 1997 +0000
@@ -28,9 +28,12 @@
 #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   */