mirror of
https://github.com/curl/curl.git
synced 2026-08-02 09:00:27 +03:00
Moved the TRUE and FALSE #defines to lib/setup.h instead, as they don't
belong in the public header file. They are not in our name space so we should not set them globally.
This commit is contained in:
parent
67dcddbef7
commit
aeb5edbf07
2 changed files with 7 additions and 7 deletions
|
|
@ -58,13 +58,6 @@
|
|||
# include <time.h>
|
||||
#endif /* defined (vms) */
|
||||
|
||||
#ifndef TRUE
|
||||
#define TRUE 1
|
||||
#endif
|
||||
#ifndef FALSE
|
||||
#define FALSE 0
|
||||
#endif
|
||||
|
||||
#include "types.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
|
|
@ -57,6 +57,13 @@
|
|||
|
||||
#endif
|
||||
|
||||
#ifndef TRUE
|
||||
#define TRUE 1
|
||||
#endif
|
||||
#ifndef FALSE
|
||||
#define FALSE 0
|
||||
#endif
|
||||
|
||||
#if !defined(__cplusplus) && !defined(__BEOS__)
|
||||
typedef unsigned char bool;
|
||||
#define typedef_bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue