From df4c0892f3fb5170042652cd648a29c94c3a2eca Mon Sep 17 00:00:00 2001
From: grischka <grischka>
Date: Thu, 14 Jul 2011 19:09:49 +0200
Subject: tccrun: win64: add unwind function table for dynamic code

This works only when tcc.exe is compiled using MSC.  MinGW does
something in the startup code that defeats it.
---
 win32/lib/kernel32.def | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'win32/lib/kernel32.def')

diff --git a/win32/lib/kernel32.def b/win32/lib/kernel32.def
index 85dd980..5d56705 100644
--- a/win32/lib/kernel32.def
+++ b/win32/lib/kernel32.def
@@ -549,7 +549,9 @@ ResetEvent
 ResetNLSUserInfoCache
 ResetWriteWatch
 ResumeThread
+RtlAddFunctionTable
 RtlFillMemory
+RtlInstallFunctionTableCallback
 RtlMoveMemory
 RtlUnwind
 RtlZeroMemory
-- 
cgit v1.3.1

