mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +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>
|
#include <string.h>
|
||||||
|
|
||||||
#define bool int
|
#define bool int
|
||||||
|
#ifndef TRUE
|
||||||
#define TRUE 1
|
#define TRUE 1
|
||||||
|
#endif
|
||||||
|
#ifndef FALSE
|
||||||
#define FALSE 0
|
#define FALSE 0
|
||||||
|
#endif
|
||||||
|
|
||||||
bool opterr = TRUE; /* generate error messages */
|
bool opterr = TRUE; /* generate error messages */
|
||||||
int optind = 1; /* index into argv array */
|
int optind = 1; /* index into argv array */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue