From 7fa712e00c5221d9373e8f8fa073e9e6fa064da1 Mon Sep 17 00:00:00 2001 From: grischka Date: Sat, 19 Dec 2009 22:22:43 +0100 Subject: win32: enable bounds checker & exception handler exception handler borrowed from k1w1. Thanks. --- tcctok.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tcctok.h') diff --git a/tcctok.h b/tcctok.h index c214ace..889ba0b 100644 --- a/tcctok.h +++ b/tcctok.h @@ -219,9 +219,11 @@ DEF(TOK___bound_ptr_indir16, "__bound_ptr_indir16") DEF(TOK___bound_local_new, "__bound_local_new") DEF(TOK___bound_local_delete, "__bound_local_delete") -#if 0 +#ifdef TCC_TARGET_PE +#ifndef TCC_TARGET_X86_64 DEF(TOK_malloc, "malloc") DEF(TOK_free, "free") +#endif DEF(TOK_realloc, "realloc") DEF(TOK_memalign, "memalign") DEF(TOK_calloc, "calloc") -- cgit v1.3.1