Added support for running on Symbian OS.

This commit is contained in:
Dan Fandrich 2008-04-22 22:53:53 +00:00
parent ad1dd08693
commit 1960eebc2d
25 changed files with 1158 additions and 16 deletions

View file

@ -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 "."