Ignore:
Timestamp:
Jul 8, 2011, 11:59:27 AM (14 years ago)
Author:
[email protected]
Message:

Patch by Kalev Lember <[email protected]> on 2011-07-08
Reviewed by Adam Roben.

Add missing _WIN32_WINNT and WINVER definitions
https://bugs.webkit.org/show_bug.cgi?id=59702

Moved _WIN32_WINNT and WINVER definitions to config.h so that they are
available for all source files.

In particular, wtf/FastMalloc.cpp uses CreateTimerQueueTimer and
DeleteTimerQueueTimer which are both guarded by
#if (_WIN32_WINNT >= 0x0500)
in MinGW headers.

  • config.h:
  • wtf/Assertions.cpp:
File:
1 edited

Legend:

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

    r83121 r90649  
    6767#if OS(WINDOWS)
    6868
     69#ifndef _WIN32_WINNT
     70#define _WIN32_WINNT 0x0500
     71#endif
     72
     73#ifndef WINVER
     74#define WINVER 0x0500
     75#endif
     76
    6977// If we don't define these, they get defined in windef.h.
    7078// We want to use std::min and std::max
Note: See TracChangeset for help on using the changeset viewer.