Ignore:
Timestamp:
Jan 27, 2013, 4:26:55 PM (12 years ago)
Author:
[email protected]
Message:

Fixing atomicIncrement implementation for Windows by dropping support before XP SP2.
https://bugs.webkit.org/show_bug.cgi?id=106740

Patch by Zoltan Arvai <[email protected]> on 2013-01-27
Reviewed by Benjamin Poulain.

Source/JavaScriptCore:

  • config.h:

Source/WebCore:

  • WebCorePrefix.h:
  • config.h:

Source/WebKit/win:

  • WebKitPrefix.h:

Source/WebKit2:

  • config.h:

Source/WTF:

Adding int64_t type atomicIncrement and atomicDecrement implementations for Windows
into Atomics.h required by WebKit2 after r139514. Separating WinCE implementation
that does not support WebKit2 and has no support for 64 bit interlocked methods.

Increasing WINVER and _WIN32_WINNT to XP SP2, because the 64 bit type interlocked methods
are not supported on previous versions on 32 bit target.

  • config.h:
  • wtf/Atomics.h:

(WTF):
(WTF::atomicIncrement):
(WTF::atomicDecrement):

Tools:

  • DumpRenderTree/config.h:
  • WinLauncher/stdafx.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/config.h

    r140472 r140930  
    4141
    4242#ifndef _WIN32_WINNT
    43 #define _WIN32_WINNT 0x0501
     43#define _WIN32_WINNT 0x0502
    4444#endif
    4545
    4646#ifndef WINVER
    47 #define WINVER 0x0501
     47#define WINVER 0x0502
    4848#endif
    4949
Note: See TracChangeset for help on using the changeset viewer.