From 74291b710c5e7d89d81719daabed11831d6a2c24 Mon Sep 17 00:00:00 2001 From: Jerome St-Louis Date: Thu, 10 Mar 2016 11:41:01 -0500 Subject: [PATCH] ecere/gui/GuiApplication; epj: Fixes to build with Emscripten --- ecere/ecere.epj | 8 +++++++- ecere/src/gui/GuiApplication.ec | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ecere/ecere.epj b/ecere/ecere.epj index 6b89c69..5e763f2 100644 --- a/ecere/ecere.epj +++ b/ecere/ecere.epj @@ -1088,6 +1088,12 @@ if distributed with the Ecere SDK Windows installer. "Options" : { "ExcludeFromBuild" : false } + }, + { + "Name" : "Emscripten", + "Options" : { + "ExcludeFromBuild" : false + } } ] }, @@ -1110,7 +1116,7 @@ if distributed with the Ecere SDK Windows installer. { "Name" : "Emscripten", "Options" : { - "ExcludeFromBuild" : false + "ExcludeFromBuild" : true } } ] diff --git a/ecere/src/gui/GuiApplication.ec b/ecere/src/gui/GuiApplication.ec index 6792305..9827b8f 100644 --- a/ecere/src/gui/GuiApplication.ec +++ b/ecere/src/gui/GuiApplication.ec @@ -1221,7 +1221,7 @@ public: for(link = class(Interface).derivatives.first; link; link = link.next) { bool foundDriver = false; - int c, numDrivers; + int c, numDrivers = 0; const char ** graphicsDrivers; inter = link.data; -- 1.8.3.1