aboutsummaryrefslogtreecommitdiff
path: root/tcctok.h
diff options
context:
space:
mode:
Diffstat (limited to 'tcctok.h')
-rw-r--r--tcctok.h4
1 files changed, 3 insertions, 1 deletions
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")