From: Guido van Rossum Date: Fri, 11 Apr 1997 19:19:46 +0000 (+0000) Subject: (Jack:) Don't define TRUE and FALSE if already defined. X-Git-Tag: v1.5a1~163 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=62bf108392ab71d290bae4231eeb0d5e99285410;p=thirdparty%2FPython%2Fcpython.git (Jack:) Don't define TRUE and FALSE if already defined. --- diff --git a/Python/getopt.c b/Python/getopt.c index c08f07fa03ba..80a00ef8bc28 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 */