From 62bf108392ab71d290bae4231eeb0d5e99285410 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 11 Apr 1997 19:19:46 +0000 Subject: (Jack:) Don't define TRUE and FALSE if already defined. --- Python/getopt.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Python/getopt.c b/Python/getopt.c index c08f07f..80a00ef 100644 --- a/Python/getopt.c +++ b/Python/getopt.c @@ -28,9 +28,12 @@ #include #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 */ -- cgit v0.12