diff options
author | Vladislav Vaintroub <wlad@montyprogram.com> | 2012-11-20 15:24:39 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@montyprogram.com> | 2012-11-20 15:24:39 +0100 |
commit | a52270d7acdbe6f373f089393a96573b874eb381 (patch) | |
tree | c189279264958e6dd326a511cd50100707ca0f8e /include/mysql_com.h | |
parent | 4d442610524154c767f290f327832538ea1d04a4 (diff) | |
download | mariadb-git-a52270d7acdbe6f373f089393a96573b874eb381.tar.gz |
MDEV-3868 : windows client compilation issues
Avoid inclusion of Windows headers via client API headers, since it traditionally
lead to different subtle compilation problems. Instead define my_socket in a way that is compatible with SOCKET (unsigned int in 32 bit , unsigned longlong in 64 bit)
Diffstat (limited to 'include/mysql_com.h')
-rw-r--r-- | include/mysql_com.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/mysql_com.h b/include/mysql_com.h index 0988d20f97f..6e8a2b23de0 100644 --- a/include/mysql_com.h +++ b/include/mysql_com.h @@ -57,9 +57,6 @@ #define LOCAL_HOST "localhost" #define LOCAL_HOST_NAMEDPIPE "." -#ifdef _WIN32 -#include <ws2tcpip.h> -#endif #if defined(__WIN__) && !defined( _CUSTOMCONFIG_) #define MYSQL_NAMEDPIPE "MySQL" |