Skip to content

Commit

Permalink
(Jack:) Don't define TRUE and FALSE if already defined.
Browse files Browse the repository at this point in the history
  • Loading branch information
gvanrossum committed Apr 11, 1997
1 parent 6976a52 commit 62bf108
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Python/getopt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 62bf108

Please sign in to comment.