diff options
author | unknown <miguel@light.local> | 2001-10-18 22:31:42 -0200 |
---|---|---|
committer | unknown <miguel@light.local> | 2001-10-18 22:31:42 -0200 |
commit | 7beaa5f06a41722457cada269373a750bafb92ac (patch) | |
tree | 746c8947a4c07c7c6cf3acd9ca639cbb3ec59f66 /libmysql/manager.c | |
parent | bbafdbca303b62161ab5b3651d43f111c5907559 (diff) | |
download | mariadb-git-7beaa5f06a41722457cada269373a750bafb92ac.tar.gz |
Avoid the redefinition warning message from winsock.h
Diffstat (limited to 'libmysql/manager.c')
-rw-r--r-- | libmysql/manager.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libmysql/manager.c b/libmysql/manager.c index f1fa73dbcd1..33b2b643333 100644 --- a/libmysql/manager.c +++ b/libmysql/manager.c @@ -55,7 +55,9 @@ #endif #define RES_BUF_SHIFT 5 +#ifndef __WIN__ #define SOCKET_ERROR -1 +#endif #define NET_BUF_SIZE 2048 MYSQL_MANAGER* STDCALL mysql_manager_init(MYSQL_MANAGER* con) |