diff options
author | Kent Hansen <khansen@trolltech.com> | 2009-08-20 07:50:46 (GMT) |
---|---|---|
committer | Kent Hansen <khansen@trolltech.com> | 2009-08-20 07:50:46 (GMT) |
commit | 63db516fdbb5febfb1d5111f762de6e1226aa3f2 (patch) | |
tree | 53cd0c90245a3bf540baa8b829d5ce3b452bc5f5 /src/3rdparty | |
parent | 8327ad579223bf5d3bda8c35d3ec866a861a7788 (diff) | |
download | Qt-63db516fdbb5febfb1d5111f762de6e1226aa3f2.zip Qt-63db516fdbb5febfb1d5111f762de6e1226aa3f2.tar.gz Qt-63db516fdbb5febfb1d5111f762de6e1226aa3f2.tar.bz2 |
add platforms AIX and HPUX
Also add some compilers, and define PLATFORM(UNIX) on Solaris.
Diffstat (limited to 'src/3rdparty')
-rw-r--r-- | src/3rdparty/webkit/JavaScriptCore/wtf/Platform.h | 36 |
1 files changed, 35 insertions, 1 deletions
diff --git a/src/3rdparty/webkit/JavaScriptCore/wtf/Platform.h b/src/3rdparty/webkit/JavaScriptCore/wtf/Platform.h index c7a5be9..e531a63 100644 --- a/src/3rdparty/webkit/JavaScriptCore/wtf/Platform.h +++ b/src/3rdparty/webkit/JavaScriptCore/wtf/Platform.h @@ -94,6 +94,20 @@ #define WTF_PLATFORM_SOLARIS 1 #endif +/* PLATFORM(AIX) */ +/* Operating system level dependencies for AIX that should be used */ +/* regardless of operating environment */ +#if defined(_AIX) +#define WTF_PLATFORM_AIX 1 +#endif + +/* PLATFORM(HPUX) */ +/* Operating system level dependencies for HP-UX that should be used */ +/* regardless of operating environment */ +#if defined(hpux) || defined(__hpux) +#define WTF_PLATFORM_HPUX 1 +#endif + #if defined (__SYMBIAN32__) /* we are cross-compiling, it is not really windows */ #undef WTF_PLATFORM_WIN_OS @@ -123,10 +137,12 @@ || PLATFORM(FREEBSD) \ || PLATFORM(SYMBIAN) \ || PLATFORM(NETBSD) \ + || PLATFORM(SOLARIS) \ + || PLATFORM(HPUX) \ || defined(unix) \ || defined(__unix) \ || defined(__unix__) \ - || defined(_AIX) \ + || PLATFORM(AIX) \ || defined(__QNXNTO__) #define WTF_PLATFORM_UNIX 1 #endif @@ -343,6 +359,24 @@ #define WTF_COMPILER_WINSCW 1 #endif +/* COMPILER(SUNCC) */ +/* This is the Sun CC compiler, also known as Sun Studio or Sun Pro */ +#if defined(__SUNPRO_CC) || defined(__SUNPRO_C) +#define WTF_COMPILER_SUNCC 1 +#endif + +/* COMPILER(XLC) */ +/* IBM Visual Age C/C++ compiler, a.k.a. xlC */ +#if defined(__xlC__) +#define WTF_COMPILER_XLC 1 +#endif + +/* COMPILER(ACC) */ +/* HP's aC++/ANSI C compiler, a.k.a. aCC */ +#if defined(__HP_aCC) +#define WTF_COMPILER_ACC +#endif + #if (PLATFORM(IPHONE) || PLATFORM(MAC) || PLATFORM(WIN)) && !defined(ENABLE_JSC_MULTIPLE_THREADS) #define ENABLE_JSC_MULTIPLE_THREADS 1 #endif |