Commit fc7983db authored by ggaren@apple.com's avatar ggaren@apple.com

2011-09-09 Geoffrey Garen <ggaren@apple.com>

        Reviewed by Dan Bernstein.

        Never #define ENABLE_SINGLE_THREADED, !ENABLE_JSC_MULTIPLE_THREADS, or
        !ENABLE_WTF_MULTIPLE_THREADS
        https://bugs.webkit.org/show_bug.cgi?id=67860

        First step toward making the baseline platform assumption that threads
        exist: Never #define ENABLE_SINGLE_THREADED, !ENABLE_JSC_MULTIPLE_THREADS,
        or !ENABLE_WTF_MULTIPLE_THREADS.

        * wtf/Platform.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94871 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 99dc179c
2011-09-09 Geoffrey Garen <ggaren@apple.com>
Reviewed by Dan Bernstein.
Never #define ENABLE_SINGLE_THREADED, !ENABLE_JSC_MULTIPLE_THREADS, or
!ENABLE_WTF_MULTIPLE_THREADS
https://bugs.webkit.org/show_bug.cgi?id=67860
First step toward making the baseline platform assumption that threads
exist: Never #define ENABLE_SINGLE_THREADED, !ENABLE_JSC_MULTIPLE_THREADS,
or !ENABLE_WTF_MULTIPLE_THREADS.
* wtf/Platform.h:
2011-09-09 Laszlo Gombos <laszlo.1.gombos@nokia.com>
[Qt] Remove common.pri
......
......@@ -509,13 +509,8 @@
#define WTF_USE_PTHREAD_BASED_QT 1
#endif
#if (PLATFORM(GTK) || PLATFORM(IOS) || PLATFORM(MAC) || PLATFORM(WIN) || (PLATFORM(QT) && (OS(DARWIN) || USE(PTHREAD_BASED_QT)) && !ENABLE(SINGLE_THREADED))) && !OS(QNX) && !defined(ENABLE_JSC_MULTIPLE_THREADS)
#define ENABLE_JSC_MULTIPLE_THREADS 1
#endif
#if ENABLE(JSC_MULTIPLE_THREADS) || PLATFORM(CHROMIUM)
#define ENABLE_WTF_MULTIPLE_THREADS 1
#endif
/* On Windows, use QueryPerformanceCounter by default */
#if OS(WINDOWS)
......@@ -581,10 +576,6 @@
#define WTF_USE_WK_SCROLLBAR_PAINTER 1
#endif
#if PLATFORM(BREWMP)
#define ENABLE_SINGLE_THREADED 1
#endif
#if PLATFORM(QT) && OS(DARWIN)
#define WTF_USE_CF 1
#endif
......
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