summaryrefslogtreecommitdiff
path: root/lib/setup.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/setup.h')
-rw-r--r--lib/setup.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/setup.h b/lib/setup.h
index b08120ce3..38ae32099 100644
--- a/lib/setup.h
+++ b/lib/setup.h
@@ -36,7 +36,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
@@ -65,6 +65,10 @@
#include "amigaos.h"
#endif
+#ifdef __SYMBIAN32__
+#include "config-symbian.h"
+#endif
+
#ifdef __OS400__
#include "config-os400.h"
#include "setup-os400.h"
@@ -268,6 +272,10 @@ extern char * strtok_r(char *s, const char *delim, char **last);
extern struct tm * gmtime_r(const time_t * const timep, struct tm *tmp);
#endif
+#ifdef __SYMBIAN32__
+#undef HAVE_ALARM
+#endif
+
#define DIR_CHAR "/"
#ifndef DOT_CHAR
#define DOT_CHAR "."