1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

moved the bool typedef to setup.h

This commit is contained in:
Daniel Stenberg 2004-12-15 10:33:51 +00:00
parent d88b3d3d5d
commit b34d161703
2 changed files with 11 additions and 11 deletions

View File

@ -136,12 +136,6 @@ char **__crt0_glob_function (char *arg)
} }
#endif /* __DJGPP__ */ #endif /* __DJGPP__ */
#ifndef __cplusplus
#ifndef typedef_bool
typedef char bool;
#endif
#endif
#define CURL_PROGRESS_STATS 0 /* default progress display */ #define CURL_PROGRESS_STATS 0 /* default progress display */
#define CURL_PROGRESS_BAR 1 #define CURL_PROGRESS_BAR 1

View File

@ -69,6 +69,12 @@
#define FALSE 0 #define FALSE 0
#endif #endif
#ifndef __cplusplus
#ifndef typedef_bool
typedef char bool;
#endif
#endif
#ifndef OS #ifndef OS
#define OS "unknown" #define OS "unknown"
#endif #endif