aboutsummaryrefslogtreecommitdiff
path: root/dep/g3dlite/include/G3D/debugAssert.h
diff options
context:
space:
mode:
Diffstat (limited to 'dep/g3dlite/include/G3D/debugAssert.h')
-rw-r--r--dep/g3dlite/include/G3D/debugAssert.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/dep/g3dlite/include/G3D/debugAssert.h b/dep/g3dlite/include/G3D/debugAssert.h
index edff671061d..197312bd12e 100644
--- a/dep/g3dlite/include/G3D/debugAssert.h
+++ b/dep/g3dlite/include/G3D/debugAssert.h
@@ -32,6 +32,7 @@
#include <cstdlib>
#ifdef _MSC_VER
+#include <intrin.h>
// conditional expression is constant
# pragma warning (disable : 4127)
#endif
@@ -116,7 +117,7 @@ namespace _internal {
#ifdef G3D_DEBUG
# if defined(_MSC_VER)
-# define rawBreak() ::DebugBreak();
+# define rawBreak() ::__debugbreak();
# elif defined(__i386__)
// gcc on intel
# define rawBreak() __asm__ __volatile__ ( "int $3" );