summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/Src/EventHandler.cpp
diff options
context:
space:
mode:
authorSonicadvance1 <sonicadvance1@gmail.com>2009-11-11 11:07:04 +0000
committerSonicadvance1 <sonicadvance1@gmail.com>2009-11-11 11:07:04 +0000
commitebc696c58e21e2657c03801bb5f9bb7cd65e6e40 (patch)
tree891705bf29f53b2ffcf0c2d1d93186800025b8ed /Source/Core/InputCommon/Src/EventHandler.cpp
parente4ec0ba33b4b3083ff0e94c1ca1135e35b45a32f (diff)
Fix GCC 4.5 Compiling. -fvisibility=hidden seems to break it, so it was removed. Non-POD objects are now errors instead of warnings in 4.5, so I had to remove the wxString::Format. and a Fix where GCC 4.5 introduced strndup. Compiling with nowx=true gave me linker problems for some reason, and I added the -flto flag but commented out. Dunno what it will do yet.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4530 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/InputCommon/Src/EventHandler.cpp')
-rw-r--r--Source/Core/InputCommon/Src/EventHandler.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/Src/EventHandler.cpp b/Source/Core/InputCommon/Src/EventHandler.cpp
index 4f78a56963..81890202db 100644
--- a/Source/Core/InputCommon/Src/EventHandler.cpp
+++ b/Source/Core/InputCommon/Src/EventHandler.cpp
@@ -1,4 +1,6 @@
#include "EventHandler.h"
+#include <stdio.h>
+#include <ctype.h>
#if defined HAVE_WX && HAVE_WX
#include <wx/wx.h>