Commit a9835031 authored by aroben@apple.com's avatar aroben@apple.com

Windows build fix

        * WebCoreSupport/WebInspectorClientCF.cpp: Define WTF_PLATFORM_CF
        manually. Normally this gets defined on Windows by including config.h,
        but Mac has no config.h for WebKit, so we can't do that here.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37862 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 70f1fe9d
2008-10-24 Adam Roben <aroben@apple.com>
Windows build fix
* WebCoreSupport/WebInspectorClientCF.cpp: Define WTF_PLATFORM_CF
manually. Normally this gets defined on Windows by including config.h,
but Mac has no config.h for WebKit, so we can't do that here.
2008-10-24 Timothy Hatcher <timothy@apple.com>
Implement new InspectorClient methods to work with Settings.
......
......@@ -23,6 +23,16 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
// FIXME: On Windows, we require all WebKit source files to include config.h
// before including any other files. Failing to include config.h will leave
// WTF_PLATFORM_CF undefined, causing build failures in this file. But Mac
// doesn't have a config.h for WebKit, so we can't include the Windows one
// here. For now we can just define WTF_PLATFORM_CF manually, but we need a
// better long-term solution.
#ifndef WTF_PLATFORM_CF
#define WTF_PLATFORM_CF 1
#endif
#include "WebInspectorClient.h"
#include <CoreFoundation/CoreFoundation.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment