From 59b7df2c503b05d63e902a3f801160eeaefa2dcc Mon Sep 17 00:00:00 2001 From: Abhishek Nath Date: Wed, 20 Jan 2010 18:35:06 +0000 Subject: [PATCH] Red's workaround (hack) to get awWebCore to build --- panda/src/awesomium/awWebCore.cxx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/panda/src/awesomium/awWebCore.cxx b/panda/src/awesomium/awWebCore.cxx index 0e35112094..4a81a0b5e6 100644 --- a/panda/src/awesomium/awWebCore.cxx +++ b/panda/src/awesomium/awWebCore.cxx @@ -19,8 +19,12 @@ TypeHandle AwWebCore::_type_handle; AwWebCore:: -AwWebCore(AwWebCore::LogLevel level, bool enablePlugins , AwWebCore::PixelFormat pixelFormat) : - WebCore(static_cast(level), enablePlugins, static_cast(pixelFormat)) { +AwWebCore(AwWebCore::LogLevel level, bool enablePlugins , AwWebCore::PixelFormat pixelFormat) +#ifndef CPPPARSER +: + WebCore(static_cast(level), enablePlugins, static_cast(pixelFormat)) +#endif + { awesomium_cat.info() << "constructing webcore\n"; }