From cb14675bcdfeba6eb5d2d21beae707a07fdb88f7 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(-) (limited to 'Python/getopt.c') diff --git a/Python/getopt.c b/Python/getopt.c index c08f07fa03..80a00ef8bc 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 v1.2.1