summaryrefslogtreecommitdiff
path: root/dbug
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 /dbug
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 'dbug')
-rw-r--r--dbug/dbug.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/dbug/dbug.c b/dbug/dbug.c
index 1e72bb348ed..d7e20b32c2c 100644
--- a/dbug/dbug.c
+++ b/dbug/dbug.c
@@ -1980,7 +1980,6 @@ static void DBUGOpenFile(CODE_STATE *cs,
{
newfile= !EXISTS(name);
if (!(fp= fopen(name, append ? "a+" : "w")))
- )))
{
(void) fprintf(stderr, ERR_OPEN, cs->process, name);
perror("");