aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Soroka <gits@joesoroka.com>2011-04-12 00:11:47 -0700
committerJoe Soroka <gits@joesoroka.com>2011-04-12 00:11:47 -0700
commit46e2dd7c3284462a954ce1eaf61d9af29b5a9159 (patch)
tree38b47e8ca36fef764c121bca7fe9cca452079d88
parent812781cd1130059f4ac74608fbd6b8f1cff1d8b1 (diff)
downloadtinycc-46e2dd7c3284462a954ce1eaf61d9af29b5a9159.tar.gz
tinycc-46e2dd7c3284462a954ce1eaf61d9af29b5a9159.tar.bz2
tcctok.h: fix ifdef target/host confusion
-rw-r--r--tcctok.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcctok.h b/tcctok.h
index 6e7ca1f..f754af5 100644
--- a/tcctok.h
+++ b/tcctok.h
@@ -240,7 +240,7 @@
DEF(TOK_strlen, "strlen")
DEF(TOK_strcpy, "strcpy")
#endif
-#if defined __i386__ || defined __x86_64__
+#if defined TCC_TARGET_I386 || defined TCC_TARGET_X86_64
DEF(TOK_alloca, "alloca")
#endif