summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/stacktrace/build/has_windbg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/libs/stacktrace/build/has_windbg.cpp')
-rw-r--r--src/boost/libs/stacktrace/build/has_windbg.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/boost/libs/stacktrace/build/has_windbg.cpp b/src/boost/libs/stacktrace/build/has_windbg.cpp
new file mode 100644
index 00000000..17408be2
--- /dev/null
+++ b/src/boost/libs/stacktrace/build/has_windbg.cpp
@@ -0,0 +1,13 @@
+// Copyright Antony Polukhin, 2016-2019.
+//
+// Distributed under the Boost Software License, Version 1.0. (See
+// accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+#include <cstring>
+#include <windows.h>
+#include "dbgeng.h"
+
+int main() {
+ ::CoInitializeEx(0, COINIT_MULTITHREADED);
+}