diff options
author | unknown <kent@mysql.com> | 2005-05-05 09:15:14 +0200 |
---|---|---|
committer | unknown <kent@mysql.com> | 2005-05-05 09:15:14 +0200 |
commit | f59fef3f972a5ae06523f811c55ef713a9303679 (patch) | |
tree | 15c771393cde23d12723e2bf34b0706c055c1e97 /cmd-line-utils | |
parent | 021171697f6ce3f53cb6b76e933d11e838d7eef7 (diff) | |
download | mariadb-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')
-rw-r--r-- | cmd-line-utils/libedit/config.h | 2 | ||||
-rw-r--r-- | cmd-line-utils/readline/terminal.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/cmd-line-utils/libedit/config.h b/cmd-line-utils/libedit/config.h index b6f002d5b9e..642123d1ddc 100644 --- a/cmd-line-utils/libedit/config.h +++ b/cmd-line-utils/libedit/config.h @@ -2,8 +2,10 @@ #include "my_config.h" #include "sys.h" +#if defined(LIBC_SCCS) && !defined(lint) #define __RCSID(x) #define __COPYRIGHT(x) +#endif #define __RENAME(x) #define _DIAGASSERT(x) 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); |