aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2008-04-22 22:53:53 +0000
committerDan Fandrich <dan@coneharvesters.com>2008-04-22 22:53:53 +0000
commit1960eebc2d021ecf5ffc3f6d4e935d54aa592c72 (patch)
tree258a993cae8cec4f2eff333347adb8b87e809b84 /include
parentad1dd086937138f56e5942ae0840867372c77d03 (diff)
Added support for running on Symbian OS.
Diffstat (limited to 'include')
-rw-r--r--include/curl/curl.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index aa1dfb7e2..8b7268188 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -33,7 +33,7 @@
* Define WIN32 when build target is Win32 API
*/
-#if (defined(_WIN32) || defined(__WIN32__)) && !defined(WIN32)
+#if (defined(_WIN32) || defined(__WIN32__)) && !defined(WIN32) && !defined(__SYMBIAN32__)
#define WIN32
#endif
@@ -62,7 +62,7 @@
/* HP-UX systems version 9, 10 and 11 lack sys/select.h and so does oldish
libc5-based Linux systems. Only include it on system that are known to
require it! */
-#if defined(_AIX) || defined(__NOVELL_LIBC__) || defined(__NetBSD__) || defined(__minix)
+#if defined(_AIX) || defined(__NOVELL_LIBC__) || defined(__NetBSD__) || defined(__minix) || defined(__SYMBIAN32__)
#include <sys/select.h>
#endif
@@ -86,10 +86,10 @@ extern "C" {
typedef void CURL;
/*
- * Decorate exportable functions for Win32 DLL linking.
+ * Decorate exportable functions for Win32 and Symbian OS DLL linking.
* This avoids using a .def file for building libcurl.dll.
*/
-#if (defined(WIN32) || defined(_WIN32)) && !defined(CURL_STATICLIB)
+#if (defined(WIN32) || defined(_WIN32) || defined(__SYMBIAN32__)) && !defined(CURL_STATICLIB)
#if defined(BUILDING_LIBCURL)
#define CURL_EXTERN __declspec(dllexport)
#else