commit | 62bf108392ab71d290bae4231eeb0d5e99285410 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Apr 11 19:19:46 1997 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Apr 11 19:19:46 1997 +0000 |
tree | 8186d5de66f00166686ef33d818e22944633d433 | |
parent | 6976a52099937bd3e855e7c9b8e1d3c75584b7f6 [diff] |
(Jack:) Don't define TRUE and FALSE if already defined.
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 <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 */