Ignore:
Timestamp:
Nov 30, 2011, 4:05:54 AM (14 years ago)
Author:
Simon Hausmann
Message:

Fix compilation with MingW.

Reviewed by Csaba Osztrogonác.

  • wtf/ThreadingWin.cpp:

(WTF::initializeCurrentThreadInternal): MingW doesn't support MSVC exception handling, so for
the time being make the thread name setting unimplemented for MingW.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/wtf/ThreadingWin.cpp

    r95511 r101484  
    129129void initializeCurrentThreadInternal(const char* szThreadName)
    130130{
     131#if COMPILER(MINGW)
     132    // FIXME: Implement thread name setting with MingW.
     133    UNUSED_PARAM(szThreadName);
     134#else
    131135    THREADNAME_INFO info;
    132136    info.dwType = 0x1000;
     
    139143    } __except (EXCEPTION_CONTINUE_EXECUTION) {
    140144    }
     145#endif
    141146}
    142147
Note: See TracChangeset for help on using the changeset viewer.