diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-12-15 10:33:51 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-12-15 10:33:51 +0000 |
commit | b34d161703a65776b56eeacce088545abb57281b (patch) | |
tree | 6d114979a242534c2b2b4fba08a83265a254a300 | |
parent | d88b3d3d5d487d0f70230eb6548a843d32836ce2 (diff) |
moved the bool typedef to setup.h
-rw-r--r-- | src/main.c | 6 | ||||
-rw-r--r-- | src/setup.h | 16 |
2 files changed, 11 insertions, 11 deletions
diff --git a/src/main.c b/src/main.c index 87e43ff67..7495ee6ad 100644 --- a/src/main.c +++ b/src/main.c @@ -136,12 +136,6 @@ char **__crt0_glob_function (char *arg) } #endif /* __DJGPP__ */ -#ifndef __cplusplus -#ifndef typedef_bool -typedef char bool; -#endif -#endif - #define CURL_PROGRESS_STATS 0 /* default progress display */ #define CURL_PROGRESS_BAR 1 diff --git a/src/setup.h b/src/setup.h index 1262550cb..5c9b19cfa 100644 --- a/src/setup.h +++ b/src/setup.h @@ -1,10 +1,10 @@ #ifndef __CLIENT_SETUP_H #define __CLIENT_SETUP_H /*************************************************************************** - * _ _ ____ _ - * Project ___| | | | _ \| | - * / __| | | | |_) | | - * | (__| |_| | _ <| |___ + * _ _ ____ _ + * Project ___| | | | _ \| | + * / __| | | | |_) | | + * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * Copyright (C) 1998 - 2004, Daniel Stenberg, <daniel@haxx.se>, et al. @@ -12,7 +12,7 @@ * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms * are also available at http://curl.haxx.se/docs/copyright.html. - * + * * You may opt to use, copy, modify, merge, publish, distribute and/or sell * copies of the Software, and permit persons to whom the Software is * furnished to do so, under the terms of the COPYING file. @@ -69,6 +69,12 @@ #define FALSE 0 #endif +#ifndef __cplusplus +#ifndef typedef_bool +typedef char bool; +#endif +#endif + #ifndef OS #define OS "unknown" #endif |