summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2014-07-01 00:18:46 +0000
committerZachary Turner <zturner@google.com>2014-07-01 00:18:46 +0000
commit0ec7baa9f40eb48b9c74fcb3c2194306e3a82c54 (patch)
treec7dd882ae6b2fdc70f6ec74d412d51c67de85e0f /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
parent4f5e9f8207e6110472df5a378be99e5cd21ba1b4 (diff)
downloadbcm5719-llvm-0ec7baa9f40eb48b9c74fcb3c2194306e3a82c54.tar.gz
bcm5719-llvm-0ec7baa9f40eb48b9c74fcb3c2194306e3a82c54.zip
Fix Windows build after llgs upstream.
With _HAS_EXCEPTIONS=0, Windows' version of <thread> will fail to compile because it calls __uncaught_exception(), which is compiled out due to _HAS_EXCEPTIONS=0. This just creates a stub version of __uncaught_exception() which always fails. llvm-svn: 212076
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
index e59cf34f8e3..9275ddcda1b 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
@@ -9,6 +9,8 @@
#include <errno.h>
+#include "lldb/Host/Config.h"
+
#include "GDBRemoteCommunicationServer.h"
#include "lldb/Core/StreamGDBRemote.h"
OpenPOWER on IntegriCloud