summaryrefslogtreecommitdiff
path: root/client/get_password.c
diff options
context:
space:
mode:
authorunknown <guilhem@mysqlwin32.>2008-02-19 11:41:12 +0100
committerunknown <guilhem@mysqlwin32.>2008-02-19 11:41:12 +0100
commit8665ae2c1fa97866978ebec938479c796c1de6d7 (patch)
treef3bc4002ff3e1834359d8b0b1ea929a4d86e077d /client/get_password.c
parenta680bc76880603d1f27aab9c44b2abe8a3a86526 (diff)
downloadmariadb-git-8665ae2c1fa97866978ebec938479c796c1de6d7.tar.gz
Fix for build failures. Putting back "#define bool BOOL" under Windows
until Windows team confers. client/get_password.c: fix for build failure (HPUX etc): no bool in C dbug/dbug.c: typo include/config-win.h: putting back the infamous #define, because without it we have 650 distinct compiler warnings "forcing value to bool 'true' or 'false'" (C4800), Windows team will confer on what to do. include/thr_alarm.h: fix for build failure on Windows libmysql/dll.c: fix for build failure on Windows mysys/thr_alarm.c: fix for build failure on HPUX
Diffstat (limited to 'client/get_password.c')
-rw-r--r--client/get_password.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/get_password.c b/client/get_password.c
index c01fbcd0da1..c6653183f48 100644
--- a/client/get_password.c
+++ b/client/get_password.c
@@ -107,7 +107,7 @@ char *get_tty_password(const char *opt_message)
* to will not include the eol characters.
*/
-static void get_password(char *to,uint length,int fd,bool echo)
+static void get_password(char *to,uint length,int fd, my_bool echo)
{
char *pos=to,*end=to+length;