diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2008-04-22 22:53:53 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2008-04-22 22:53:53 +0000 |
commit | 1960eebc2d021ecf5ffc3f6d4e935d54aa592c72 (patch) | |
tree | 258a993cae8cec4f2eff333347adb8b87e809b84 /lib/setup.h | |
parent | ad1dd086937138f56e5942ae0840867372c77d03 (diff) |
Added support for running on Symbian OS.
Diffstat (limited to 'lib/setup.h')
-rw-r--r-- | lib/setup.h | 10 |
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 "." |