Commit af12b541 authored by ap@webkit.org's avatar ap@webkit.org

Reviewed by Adam Roben.

        MSVC build fix.

        * kjs/CommonIdentifiers.cpp:
        * kjs/CommonIdentifiers.h:
        * kjs/Parser.cpp:
        * kjs/Parser.h:
        * kjs/identifier.cpp:
        * kjs/lexer.h:
        * wtf/ThreadSpecific.h:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31944 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent a80d17d5
2008-04-16 Alexey Proskuryakov <ap@webkit.org>
Reviewed by Adam Roben.
MSVC build fix.
* kjs/CommonIdentifiers.cpp:
* kjs/CommonIdentifiers.h:
* kjs/Parser.cpp:
* kjs/Parser.h:
* kjs/identifier.cpp:
* kjs/lexer.h:
* wtf/ThreadSpecific.h:
2008-04-16 Alexey Proskuryakov <ap@webkit.org>
Build fix.
......
......@@ -23,6 +23,7 @@
#if USE(MULTIPLE_THREADS)
#include <wtf/ThreadSpecific.h>
using namespace WTF;
#endif
namespace KJS {
......
......@@ -74,7 +74,7 @@ namespace KJS {
private:
CommonIdentifiers();
template<typename T> friend class ::WTF::ThreadSpecific;
friend class WTF::ThreadSpecific<CommonIdentifiers>;
public:
static CommonIdentifiers* shared();
......
......@@ -29,6 +29,7 @@
#include <wtf/HashSet.h>
#if USE(MULTIPLE_THREADS)
#include <wtf/ThreadSpecific.h>
using namespace WTF;
#endif
#include <wtf/Vector.h>
......
......@@ -60,7 +60,7 @@ namespace KJS {
private:
friend Parser& parser();
template<typename T> friend class WTF::ThreadSpecific;
friend class WTF::ThreadSpecific<Parser>;
Parser(); // Use parser() instead.
void parse(int startingLineNumber, const UChar* code, unsigned length,
......
......@@ -30,6 +30,7 @@
#include <wtf/HashSet.h>
#if USE(MULTIPLE_THREADS)
#include <wtf/ThreadSpecific.h>
using namespace WTF;
#endif
namespace WTF {
......
......@@ -92,7 +92,7 @@ namespace KJS {
private:
friend Lexer& lexer();
template<typename T> friend class WTF::ThreadSpecific;
friend class WTF::ThreadSpecific<Lexer>;
Lexer();
int yylineno;
......
......@@ -57,7 +57,7 @@ private:
#endif
};
#if USE(PTHREADS)
#if USE(PTHREADS) || PLATFORM(WIN)
template<typename T>
inline ThreadSpecific<T>::ThreadSpecific()
{
......
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