diff options
author | Yang Tse <yangsita@gmail.com> | 2012-04-06 23:35:15 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2012-04-06 23:37:05 +0200 |
commit | 919c97fa65a5c00f7044e849eeb0095408413505 (patch) | |
tree | 12b5005946b744b178cf1fecd310941074cffa45 /lib/setup.h | |
parent | 376b4d48feea9da98eda15ddf05c86729d9dc3f1 (diff) |
curl tool: use configuration files from lib directory
Configuration files such as curl_config.h and all config-*.h no longer exist
nor are generated/copied into 'src' directory, now these only exist in 'lib'
directory from where curl tool sources uses them.
Additionally old src/setup.h has been refactored into src/tool_setup.h which
now pulls lib/setup.h
The possibility of a makefile needing an include path adjustment exists.
Diffstat (limited to 'lib/setup.h')
-rw-r--r-- | lib/setup.h | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/lib/setup.h b/lib/setup.h index 121943758..6ce93db4d 100644 --- a/lib/setup.h +++ b/lib/setup.h @@ -1,5 +1,5 @@ -#ifndef HEADER_CURL_LIB_SETUP_H -#define HEADER_CURL_LIB_SETUP_H +#ifndef HEADER_CURL_SETUP_H +#define HEADER_CURL_SETUP_H /*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | @@ -54,8 +54,12 @@ # include "config-mac.h" #endif +#ifdef __riscos__ +# include "config-riscos.h" +#endif + #ifdef __AMIGA__ -# include "amigaos.h" +# include "config-amigaos.h" #endif #ifdef __SYMBIAN32__ @@ -281,6 +285,16 @@ # include <ioLib.h> /* for basic I/O interface functions */ #endif +#ifdef __AMIGA__ +# ifndef __ixemul__ +# include <exec/types.h> +# include <exec/execbase.h> +# include <proto/exec.h> +# include <proto/dos.h> +# define select(a,b,c,d,e) WaitSelect(a,b,c,d,e,0) +# endif +#endif + #include <stdio.h> #ifdef HAVE_ASSERT_H #include <assert.h> @@ -640,4 +654,4 @@ int netware_init(void); # define SHUT_RDWR 0x02 #endif -#endif /* HEADER_CURL_LIB_SETUP_H */ +#endif /* HEADER_CURL_SETUP_H */ |