summaryrefslogtreecommitdiff
path: root/Source/Core/Common/MsgHandler.cpp
diff options
context:
space:
mode:
authorMatthew Parlane <parlane@gmail.com>2017-01-24 13:47:36 +1300
committerGitHub <noreply@github.com>2017-01-24 13:47:36 +1300
commitf70a1a27fae804bf7e1b8b85f4e1a990631efc7b (patch)
treeedf4221f16dd311cbf0370eb005f779c3a1eff9c /Source/Core/Common/MsgHandler.cpp
parent00c993143f2934ac9b5cb211e2579a0bcc146864 (diff)
parent0bc40cacda333910d7ebfc403122c2b914cd8778 (diff)
Merge pull request #4726 from ligfx/addingwindowsheaders
Fix building without PCH on Windows
Diffstat (limited to 'Source/Core/Common/MsgHandler.cpp')
-rw-r--r--Source/Core/Common/MsgHandler.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/Common/MsgHandler.cpp b/Source/Core/Common/MsgHandler.cpp
index caf8d99f15..77c5547996 100644
--- a/Source/Core/Common/MsgHandler.cpp
+++ b/Source/Core/Common/MsgHandler.cpp
@@ -12,6 +12,10 @@
#include "Common/MsgHandler.h"
#include "Common/StringUtil.h"
+#ifdef _WIN32
+#include <windows.h>
+#endif
+
bool DefaultMsgHandler(const char* caption, const char* text, bool yes_no, int Style);
static MsgAlertHandler msg_handler = DefaultMsgHandler;
static bool AlertEnabled = true;