mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 03:47:17 +02:00
Merge mysql.com:/usr/local/mysql/mysql-5.0-win-fixes
into mysql.com:/usr/local/mysql/mysql-5.1-new include/config-win.h: Auto merged
This commit is contained in:
commit
cdd75f06aa
1 changed files with 10 additions and 0 deletions
|
|
@ -22,6 +22,11 @@ functions */
|
||||||
#define _WIN32_WINNT 0x0500
|
#define _WIN32_WINNT 0x0500
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(_MSC_VER) && _MSC_VER >= 1400
|
||||||
|
/* Avoid endless warnings about sprintf() etc. being unsafe. */
|
||||||
|
#define _CRT_SECURE_NO_DEPRECATE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <sys/locking.h>
|
#include <sys/locking.h>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <math.h> /* Because of rint() */
|
#include <math.h> /* Because of rint() */
|
||||||
|
|
@ -341,6 +346,11 @@ inline double ulonglong2double(ulonglong value)
|
||||||
#define HAVE_SETFILEPOINTER
|
#define HAVE_SETFILEPOINTER
|
||||||
#define HAVE_VIO_READ_BUFF
|
#define HAVE_VIO_READ_BUFF
|
||||||
|
|
||||||
|
#if defined(_WIN64) && defined(_M_X64)
|
||||||
|
/* Avoid type conflicts with built-in functions. */
|
||||||
|
#define HAVE_STRNLEN
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef __NT__
|
#ifndef __NT__
|
||||||
#undef FILE_SHARE_DELETE
|
#undef FILE_SHARE_DELETE
|
||||||
#define FILE_SHARE_DELETE 0 /* Not implemented on Win 98/ME */
|
#define FILE_SHARE_DELETE 0 /* Not implemented on Win 98/ME */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue