summaryrefslogtreecommitdiff
path: root/cmd-line-utils/readline
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 /cmd-line-utils/readline
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 'cmd-line-utils/readline')
-rw-r--r--cmd-line-utils/readline/terminal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-line-utils/readline/terminal.c b/cmd-line-utils/readline/terminal.c
index a506fa6de09..b2bcf5f146c 100644
--- a/cmd-line-utils/readline/terminal.c
+++ b/cmd-line-utils/readline/terminal.c
@@ -346,7 +346,7 @@ get_term_capabilities (bp)
register unsigned int i;
for (i = 0; i < NUM_TC_STRINGS; i++)
-# ifdef __LCC__
+# if defined(__LCC__) || defined(__MWERKS__)
*(tc_strings[i].tc_value) = tgetstr ((char *)tc_strings[i].tc_var, bp);
# else
*(tc_strings[i].tc_value) = tgetstr (tc_strings[i].tc_var, bp);