You've already forked mariadb-connector-c
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user