Browse Source

Red's workaround (hack) to get awWebCore to build

Abhishek Nath 16 years ago
parent
commit
59b7df2c50
1 changed files with 6 additions and 2 deletions
  1. 6 2
      panda/src/awesomium/awWebCore.cxx

+ 6 - 2
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<Awesomium::LogLevel>(level), enablePlugins, static_cast<Awesomium::PixelFormat>(pixelFormat)) {  
+AwWebCore(AwWebCore::LogLevel level, bool enablePlugins , AwWebCore::PixelFormat pixelFormat) 
+#ifndef CPPPARSER
+:
+  WebCore(static_cast<Awesomium::LogLevel>(level), enablePlugins, static_cast<Awesomium::PixelFormat>(pixelFormat)) 
+#endif
+  {  
   awesomium_cat.info() << "constructing webcore\n";
 }