diff options
Diffstat (limited to 'sdk/recipes/patches/libcurl/ppc-amigaos/lib.curl_setup.h.p')
-rw-r--r-- | sdk/recipes/patches/libcurl/ppc-amigaos/lib.curl_setup.h.p | 33 |
1 files changed, 11 insertions, 22 deletions
diff --git a/sdk/recipes/patches/libcurl/ppc-amigaos/lib.curl_setup.h.p b/sdk/recipes/patches/libcurl/ppc-amigaos/lib.curl_setup.h.p index 7e47a50..0e52d73 100644 --- a/sdk/recipes/patches/libcurl/ppc-amigaos/lib.curl_setup.h.p +++ b/sdk/recipes/patches/libcurl/ppc-amigaos/lib.curl_setup.h.p @@ -1,23 +1,12 @@ ---- lib/curl_setup.h.old 2012-10-19 21:58:12.000000000 +0100 -+++ lib/curl_setup.h 2012-10-19 21:59:17.000000000 +0100 -@@ -323,11 +323,15 @@ - - #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) -+# ifdef __amigaos4__ -+# include <unistd.h> -+# else -+# 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 +--- lib/curl_setup.h 2019-03-30 13:44:08.576270700 +0000 ++++ lib/curl_setup.h 2019-03-30 13:44:33.011975643 +0000 +@@ -314,7 +314,8 @@ + # include <exec/execbase.h> + # include <proto/exec.h> + # include <proto/dos.h> +-# ifdef HAVE_PROTO_BSDSOCKET_H ++# define HAVE_SELECT 1 ++# if 0 + # include <proto/bsdsocket.h> /* ensure bsdsocket.library use */ + # define select(a,b,c,d,e) WaitSelect(a,b,c,d,e,0) # endif - #endif - |