summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorkent@mysql.com <>2005-05-05 09:15:14 +0200
committerkent@mysql.com <>2005-05-05 09:15:14 +0200
commitc4acdc6e0fcdd74e62eaeadac7c7508f0a4950a8 (patch)
tree15c771393cde23d12723e2bf34b0706c055c1e97 /include
parent60c4ce90fce86def2604fa070ffb070167b0bd24 (diff)
downloadmariadb-git-c4acdc6e0fcdd74e62eaeadac7c7508f0a4950a8.tar.gz
terminal.c, sql_bitmap.h, my_sys.h, configure.in, config.h:
Initial Metrowerks CodeWarrior compiler support
Diffstat (limited to 'include')
-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 */