[Webkit-unassigned] [Bug 59702] New: [PATCH] Add missing _WIN32_WINNT and WINVER definitions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 28 08:34:14 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=59702

           Summary: [PATCH] Add missing _WIN32_WINNT and WINVER
                    definitions
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kalevlember at gmail.com


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.

Fixes the following error with MinGW cross compiler in Fedora:
Source/JavaScriptCore/wtf/FastMalloc.cpp: In member function 'void WTF::TCMalloc_PageHeap::scheduleScavenger()':
Source/JavaScriptCore/wtf/FastMalloc.cpp:1575:133: error: 'CreateTimerQueueTimer' was not declared in this scope
Source/JavaScriptCore/wtf/FastMalloc.cpp: In member function 'void WTF::TCMalloc_PageHeap::suspendScavenger()':
Source/JavaScriptCore/wtf/FastMalloc.cpp:1590:51: error: 'DeleteTimerQueueTimer' was not declared in this scope
make[1]: *** [Source/JavaScriptCore/wtf/libJavaScriptCore_la-FastMalloc.lo] Error 1

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list