summaryrefslogtreecommitdiff
path: root/include/my_sys.h
diff options
context:
space:
mode:
authorunknown <kent@mysql.com>2005-05-05 09:15:14 +0200
committerunknown <kent@mysql.com>2005-05-05 09:15:14 +0200
commitf59fef3f972a5ae06523f811c55ef713a9303679 (patch)
tree15c771393cde23d12723e2bf34b0706c055c1e97 /include/my_sys.h
parent021171697f6ce3f53cb6b76e933d11e838d7eef7 (diff)
downloadmariadb-git-f59fef3f972a5ae06523f811c55ef713a9303679.tar.gz
terminal.c, sql_bitmap.h, my_sys.h, configure.in, config.h:
Initial Metrowerks CodeWarrior compiler support cmd-line-utils/libedit/config.h: Initial Metrowerks CodeWarrior compiler support configure.in: Initial Metrowerks CodeWarrior compiler support include/my_sys.h: Initial Metrowerks CodeWarrior compiler support sql/sql_bitmap.h: Initial Metrowerks CodeWarrior compiler support cmd-line-utils/readline/terminal.c: Initial Metrowerks CodeWarrior compiler support
Diffstat (limited to 'include/my_sys.h')
-rw-r--r--include/my_sys.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/my_sys.h b/include/my_sys.h
index 7ead643a9c6..c9552f8558b 100644
--- a/include/my_sys.h
+++ b/include/my_sys.h
@@ -163,6 +163,10 @@ extern char *my_strdup_with_length(const byte *from, uint length,
#if defined(_AIX) && !defined(__GNUC__) && !defined(_AIX43)
#pragma alloca
#endif /* _AIX */
+#if defined(__MWERKS__)
+#undef alloca
+#define alloca __alloca
+#endif /* __MWERKS__ */
#if defined(__GNUC__) && !defined(HAVE_ALLOCA_H) && ! defined(alloca)
#define alloca __builtin_alloca
#endif /* GNUC */