diff options
author | Guido van Rossum <guido@python.org> | 1997-04-11 19:19:46 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-04-11 19:19:46 (GMT) |
commit | 62bf108392ab71d290bae4231eeb0d5e99285410 (patch) | |
tree | 8186d5de66f00166686ef33d818e22944633d433 /Python | |
parent | 6976a52099937bd3e855e7c9b8e1d3c75584b7f6 (diff) | |
download | cpython-62bf108392ab71d290bae4231eeb0d5e99285410.zip cpython-62bf108392ab71d290bae4231eeb0d5e99285410.tar.gz cpython-62bf108392ab71d290bae4231eeb0d5e99285410.tar.bz2 |
(Jack:) Don't define TRUE and FALSE if already defined.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/getopt.c | 5 |
1 files changed, 4 insertions, 1 deletions
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 */ |