[Qt] Fix build on Lion
authorTor Arne Vestbø <vestbo@webkit.org>
Tue, 23 Aug 2011 13:26:26 +0000 (13:26 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Tue, 23 Aug 2011 14:31:30 +0000 (11:31 -0300)
commitf011bd5f216ba62629ddd6e3f5cec97f44814f58
tree43fb135b32c132efd47233e2a49706611107f39a
parent607eaba91272f6e7b996920dc8410d0ac00fa73b
[Qt] Fix build on Lion

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

Reviewed by Andreas Kling.

We were mistakenly picking up mac/WebCoreSystemInterface.h instead of
the Qt one, and building on Lion revealed this when a typedef for
IOSurfaceRef was wrapped in PLATFORM(MAC).

For now we fix this by including WebCoreSystemInterface using
brackets, so that we'll pick up the right file based on the
include paths. This also means exposing a few missing enums
in our own version of the file, so those were added.

Lasty, we need to link against the right system interface library
on Lion.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@93600 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/mac/WebVideoFullscreenHUDWindowController.mm
Source/WebCore/platform/qt/WebCoreSystemInterface.h
Source/WebKit/qt/ChangeLog
Source/WebKit/qt/QtWebKit.pro