summaryrefslogtreecommitdiff
path: root/lib/amigaos.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-02-28 14:45:48 +0000
committerYang Tse <yangsita@gmail.com>2007-02-28 14:45:48 +0000
commitbe8a5d0aef8eef4236d7cd6ce2cd7eabf74006f4 (patch)
treee6c9b255bd43b7c5ec553731aa2e0f2f815a1193 /lib/amigaos.h
parentdd433679e6cc5dbdf0ee26cc1ef111c3cfe64498 (diff)
downloadcurl-be8a5d0aef8eef4236d7cd6ce2cd7eabf74006f4.tar.gz
proper symbol definition check for all AmigaOS flavours
Diffstat (limited to 'lib/amigaos.h')
-rw-r--r--lib/amigaos.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/amigaos.h b/lib/amigaos.h
index 8a5a857fd..ed3baf50e 100644
--- a/lib/amigaos.h
+++ b/lib/amigaos.h
@@ -1,3 +1,5 @@
+#ifndef LIBCURL_AMIGAOS_H
+#define LIBCURL_AMIGAOS_H
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
@@ -21,10 +23,7 @@
* $Id$
***************************************************************************/
-#if !defined(WIN32) && !defined(_WIN32) && !defined(__WIN32__) && !defined(_WIN32_WCE)
-
-#ifndef LIBCURL_AMIGAOS_H
-#define LIBCURL_AMIGAOS_H
+#ifdef __AMIGA__ /* Any AmigaOS flavour */
#ifndef __ixemul__
@@ -57,6 +56,6 @@ extern BOOL amiga_init();
#warning compiling with ixemul...
#endif /* __ixemul__ */
+#endif /* __AMIGA__ */
#endif /* LIBCURL_AMIGAOS_H */
-#endif /* Not for Windows */