From 99dcd33f048598f209ea430b8d9f88bc7bb2bce9 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 28 Feb 2007 05:15:56 +0000 Subject: [PATCH] protect from themselves those who need it --- lib/amigaos.c | 6 +++++- lib/amigaos.h | 6 +++++- lib/nwlib.c | 6 +++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/lib/amigaos.c b/lib/amigaos.c index e26119bd8..2427077a2 100644 --- a/lib/amigaos.c +++ b/lib/amigaos.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2005, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2007, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -21,6 +21,8 @@ * $Id$ ***************************************************************************/ +#if !defined(WIN32) && !defined(_WIN32) && !defined(__WIN32__) && !defined(_WIN32_WCE) + #include "amigaos.h" #include @@ -72,3 +74,5 @@ BOOL amiga_init() #ifdef __libnix__ ADD2EXIT(amiga_cleanup,-50); #endif + +#endif /* Not for Windows */ diff --git a/lib/amigaos.h b/lib/amigaos.h index e5786d482..8a5a857fd 100644 --- a/lib/amigaos.h +++ b/lib/amigaos.h @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2005, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2007, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -21,6 +21,8 @@ * $Id$ ***************************************************************************/ +#if !defined(WIN32) && !defined(_WIN32) && !defined(__WIN32__) && !defined(_WIN32_WCE) + #ifndef LIBCURL_AMIGAOS_H #define LIBCURL_AMIGAOS_H @@ -56,3 +58,5 @@ extern BOOL amiga_init(); #endif /* __ixemul__ */ #endif /* LIBCURL_AMIGAOS_H */ + +#endif /* Not for Windows */ diff --git a/lib/nwlib.c b/lib/nwlib.c index b0eea56c7..8b873e7f9 100644 --- a/lib/nwlib.c +++ b/lib/nwlib.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2004, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2007, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -21,6 +21,8 @@ * $Id$ ***************************************************************************/ +#if !defined(WIN32) && !defined(_WIN32) && !defined(__WIN32__) && !defined(_WIN32_WCE) + #include #include #include @@ -298,3 +300,5 @@ void DisposeThreadData(void *data) free(data); } } + +#endif /* Not for Windows */