Commit b64322d2 authored by hausmann@webkit.org's avatar hausmann@webkit.org

2008-11-06 Kristian Amlie <kristian.amlie@nokia.com>

        Reviewed by Simon Hausmann.

        Define PLATFORM(UNIX) for S60. Effectively WebKit on S60 is compiled
        on top of the Posix layer.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38170 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 86748c17
2008-11-06 Kristian Amlie <kristian.amlie@nokia.com>
Reviewed by Simon Hausmann.
Define PLATFORM(UNIX) for S60. Effectively WebKit on S60 is compiled
on top of the Posix layer.
* wtf/Platform.h:
2008-11-06 Norbert Leser <norbert.leser@nokia.com>
Reviewed by Simon Hausmann.
......
......@@ -78,11 +78,21 @@
#define WTF_PLATFORM_SOLARIS 1
#endif
#if defined (__S60__) || defined (__SYMBIAN32__)
// we are cross-compiling, it is not really windows
#undef WTF_PLATFORM_WIN_OS
#undef WTF_PLATFORM_WIN
#undef WTF_PLATFORM_CAIRO
#define WTF_PLATFORM_S60 1
#define WTF_PLATFORM_SYMBIAN 1
#endif
/* PLATFORM(UNIX) */
/* Operating system level dependencies for Unix-like systems that */
/* should be used regardless of operating environment */
#if PLATFORM(DARWIN) \
|| PLATFORM(FREEBSD) \
|| PLATFORM(S60) \
|| defined(unix) \
|| defined(__unix) \
|| defined(__unix__) \
......@@ -136,15 +146,6 @@
#define WTF_PLATFORM_CAIRO 1
#endif
#if defined (__S60__) || defined (__SYMBIAN32__)
// we are cross-compiling, it is not really windows
#undef WTF_PLATFORM_WIN_OS
#undef WTF_PLATFORM_WIN
#undef WTF_PLATFORM_CAIRO
#define WTF_PLATFORM_S60 1
#define WTF_PLATFORM_SYMBIAN 1
#endif
/* CPU */
/* PLATFORM(PPC) */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment