Closed Bug 364831 Opened 18 years ago Closed 18 years ago

Firefox fails to build when using the Windows Vista SDK

Categories

(Core :: Widget: Win32, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: craig.hawco, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a2pre) Gecko/20061223 Firefox/3.0a2pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a2pre) Gecko/20061223 Firefox/3.0a2pre

widget/src/windows/nsKeyboardLayout.cpp fails to compile when using the Windows Vista SDK. Apparently winable.h has been removed, and the declarations moved into winuser.h. 

Reproducible: Always
Attached patch Proposed patchSplinter Review
Include winuser.h, then check if we've picked up the WINABLEAPI define. If not, we must be using an older SDK and include winable.h.
Craig: please ask for review from one of the owner/peers listed at http://www.mozilla.org/owners.html#win32-based-gfx-and-widget by using "Edit Attachment", setting the review dropdown to "?" and entering their email address in the textbox.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Product: Firefox → Core
QA Contact: general → general
Version: unspecified → Trunk
Assignee: nobody → win32
Component: General → Widget: Win32
QA Contact: general → ian
Attachment #249525 - Flags: review?(neil)
Comment on attachment 249525 [details] [diff] [review]
Proposed patch

I see the MSDN online documentation has already been updated with the new include, although I'm not about to download the Vista SDK to try this out.
Attachment #249525 - Flags: review?(neil) → review+
Fixed on trunk.

/mozilla/widget/src/windows/nsKeyboardLayout.cpp 3.9
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: