diff options
author | Alexander Barkov <bar@mnogosearch.org> | 2013-02-07 15:21:56 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mnogosearch.org> | 2013-02-07 15:21:56 +0400 |
commit | 8cfa84ca875ac464f5e37be88dc521bb2dd89091 (patch) | |
tree | 0729e31413e2fe15bc7967cc7e794de95f503a5e /storage/connect/osutil.c | |
parent | 48ca5c6b44fe36b1ddbe6770c7d12789888d24f9 (diff) | |
download | mariadb-git-8cfa84ca875ac464f5e37be88dc521bb2dd89091.tar.gz |
Fixing compilation warnings:
Using "bool" in pure C code is not a good idea.
- Defining BOOL as "long" on Unix (this is how MS defines it)
- Replacing bool to BOOL in pure C code.
modified:
storage/connect/global.h
storage/connect/inihandl.c
storage/connect/os.h
storage/connect/osutil.c
storage/connect/osutil.h
Diffstat (limited to 'storage/connect/osutil.c')
-rw-r--r-- | storage/connect/osutil.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/storage/connect/osutil.c b/storage/connect/osutil.c index 5b32f0f5a3b..f59f6d2517f 100644 --- a/storage/connect/osutil.c +++ b/storage/connect/osutil.c @@ -17,7 +17,6 @@ my_bool CloseFileHandle(HANDLE h) //#include <ctype.h> #include <fcntl.h> -#define DWORD int extern FILE *debug; /***********************************************************************/ @@ -195,7 +194,7 @@ char *_fullpath(char *absPath, const char *relPath, size_t maxLength) return absPath; } /* end of _fullpath */ -bool MessageBeep(uint i) +BOOL MessageBeep(uint i) { // Fixme return TRUE; |