1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-05 15:55:58 +03:00

- Windows build fixes for async API

This commit is contained in:
Georg Richter
2014-04-10 10:17:45 +02:00
parent b55403544e
commit ad0580377d
8 changed files with 278 additions and 23 deletions

View File

@@ -18,7 +18,7 @@
#include "ma_common.h"
#ifndef __WIN__
#ifndef _WIN32
#include <poll.h>
#else
#include <WinSock2.h>
@@ -33,7 +33,7 @@
static int
wait_for_mysql(MYSQL *mysql, int status)
{
#ifdef __WIN__
#ifdef _WIN32
fd_set rs, ws, es;
int res;
struct timeval tv, *timeout;