|
|
@@ -3,6 +3,8 @@
|
|
|
** Copyright (C) 2005-2013 Mike Pall. See Copyright Notice in luajit.h
|
|
|
*/
|
|
|
|
|
|
+// Modified by Lasse Oorni for Urho3D
|
|
|
+
|
|
|
#define lj_err_c
|
|
|
#define LUA_CORE
|
|
|
|
|
|
@@ -370,6 +372,12 @@ LJ_FUNCA int lj_err_unwind_arm(int state, void *ucb, _Unwind_Context *ctx)
|
|
|
#define WIN32_LEAN_AND_MEAN
|
|
|
#include <windows.h>
|
|
|
|
|
|
+// Urho3D: added Visual Studio 2008 64-bit workaround
|
|
|
+#if defined(_MSC_VER) && _MSC_VER <= 1500
|
|
|
+typedef void* PEXCEPTION_ROUTINE;
|
|
|
+typedef void* PUNWIND_HISTORY_TABLE;
|
|
|
+#endif
|
|
|
+
|
|
|
/* Taken from: http://www.nynaeve.net/?p=99 */
|
|
|
typedef struct UndocumentedDispatcherContext {
|
|
|
ULONG64 ControlPc;
|