summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Python/getopt.c5
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 */