mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
(Jack:) Don't define TRUE and FALSE if already defined.
This commit is contained in:
parent
6976a52099
commit
62bf108392
1 changed files with 4 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue