aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/amigaos.c6
-rw-r--r--lib/amigaos.h6
-rw-r--r--lib/nwlib.c6
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, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, 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 <amitcp/socketbasetags.h>
@@ -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, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, 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, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, 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 <errno.h>
#include <string.h>
#include <stdlib.h>
@@ -298,3 +300,5 @@ void DisposeThreadData(void *data)
free(data);
}
}
+
+#endif /* Not for Windows */