diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-01-13 08:35:57 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-01-13 08:35:57 +0000 |
commit | 36f76396ea913b4596e6af3e7114e800d9aafef9 (patch) | |
tree | 369b5e0229194c8ad638fbdb542b1e357bb29c94 /lib/amigaos.h | |
parent | 1cb3cd1463c7a661863662dccf5c12600b4a4c70 (diff) | |
download | curl-36f76396ea913b4596e6af3e7114e800d9aafef9.tar.gz |
Diego Casorran's fixes to allow native AmigaOS builds
Diffstat (limited to 'lib/amigaos.h')
-rw-r--r-- | lib/amigaos.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/lib/amigaos.h b/lib/amigaos.h index c2923bdaf..f8529c46e 100644 --- a/lib/amigaos.h +++ b/lib/amigaos.h @@ -21,8 +21,8 @@ * $Id$ ***************************************************************************/ -#ifndef CURL_AMIGAOS_H -#define CURL_AMIGAOS_H +#ifndef LIBCURL_AMIGAOS_H +#define LIBCURL_AMIGAOS_H #ifndef __ixemul__ @@ -34,12 +34,19 @@ #include <bsdsocket.h> -#define select(args...) WaitSelect( args, NULL) +#include "config-amigaos.h" + +#define select(args...) WaitSelect( args, NULL) #define inet_ntoa(x) Inet_NtoA( x ## .s_addr) +#define ioctl(a,b,c,d) IoctlSocket( (LONG)a, (ULONG)b, (char*)c) +#define _AMIGASF 1 + +extern void amiga_cleanup(); +extern BOOL amiga_init(); #else /* __ixemul__ */ #warning compiling with ixemul... #endif /* __ixemul__ */ -#endif /* CURL_AMIGAOS_H */ +#endif /* LIBCURL_AMIGAOS_H */ |