diff options
author | Georgi Kodinov <joro@sun.com> | 2009-07-15 16:46:25 +0300 |
---|---|---|
committer | Georgi Kodinov <joro@sun.com> | 2009-07-15 16:46:25 +0300 |
commit | 45b687c087beab11815c17546db933b8ab7191ee (patch) | |
tree | ea0b301e5ab03dbeb0d739fbb172d2221329c2db /include | |
parent | 7cf4e36f2d4d9eb222bd1722d06e8c89c0e227a2 (diff) | |
download | mariadb-git-45b687c087beab11815c17546db933b8ab7191ee.tar.gz |
Bug #45287: phase 1 : 32 bit compilation warnings
Fixed the following problems:
1. cmake 2.6 warning because of a changed default on
how the dependencies to libraries with a specified
path are resolved.
Fixed by requiring cmake 2.6.
2. Removed an obsolete pre-NT4 hack including defining
Windows system defines to alter the behavior of windows.h.
3. Disabled warning C4065 on compiling sql_yacc.cc because
of a know incompatibility in some of the newer bison binaries.
Diffstat (limited to 'include')
-rw-r--r-- | include/config-win.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/config-win.h b/include/config-win.h index ab463a7c142..05bdfd2c226 100644 --- a/include/config-win.h +++ b/include/config-win.h @@ -15,15 +15,6 @@ /* Defines for Win32 to make it compatible for MySQL */ -#ifdef __WIN2000__ -/* We have to do this define before including windows.h to get the AWE API -functions */ -#define _WIN32_WINNT 0x0500 -#else -/* Get NT 4.0 functions */ -#define _WIN32_WINNT 0x0400 -#endif - #if defined(_MSC_VER) && _MSC_VER >= 1400 /* Avoid endless warnings about sprintf() etc. being unsafe. */ #define _CRT_SECURE_NO_DEPRECATE 1 |