Changeset 107587 in webkit for trunk/Source/JavaScriptCore/wtf


Ignore:
Timestamp:
Feb 13, 2012, 11:05:27 AM (13 years ago)
Author:
Patrick Gansterer
Message:

Remove obsolete #if from ThreadSpecific.h
https://bugs.webkit.org/show_bug.cgi?id=78485

Reviewed by Adam Roben.

Since alle platform use either pthread or Win32 for threading,
we can remove all PLATFORM() preprocessor statements.

  • wtf/ThreadSpecific.h:

(ThreadSpecific):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/wtf/ThreadSpecific.h

    r106598 r107587  
    7878    // a destructor defined can be confusing, given that it has such strong pre-requisites to work correctly.
    7979    ~ThreadSpecific();
    80    
     80
    8181    T* get();
    8282    void set(T*);
    8383    void static destroy(void* ptr);
    8484
    85 #if USE(PTHREADS) || PLATFORM(QT) || PLATFORM(GTK) || OS(WINDOWS)
    8685    struct Data {
    8786        WTF_MAKE_NONCOPYABLE(Data);
     
    9594#endif
    9695    };
    97 #endif
    9896
    9997#if USE(PTHREADS)
     
    240238}
    241239
    242 }
    243 
    244 #endif
     240} // namespace WTF
     241
     242#endif // WTF_ThreadSpecific_h
Note: See TracChangeset for help on using the changeset viewer.