diff options
author | Guido van Rossum <guido@python.org> | 1997-04-11 19:19:46 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-04-11 19:19:46 +0000 |
commit | cb14675bcdfeba6eb5d2d21beae707a07fdb88f7 (patch) | |
tree | ee7e4e5b3e708a3ce3e71cef21c64d9bb9695d5b /Python/getopt.c | |
parent | 18f2301f061c89c9f65ef1d4f9ad5b68c45f7731 (diff) | |
download | cpython-cb14675bcdfeba6eb5d2d21beae707a07fdb88f7.tar.gz |
(Jack:) Don't define TRUE and FALSE if already defined.
Diffstat (limited to 'Python/getopt.c')
-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 c08f07fa03..80a00ef8bc 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 */ |