MinGW: Second step of porting to MinGW

This commit is contained in:
Bart Van Assche
2021-07-17 21:22:26 -07:00
parent 16f817bfba
commit 5e6f6ec5ed
16 changed files with 98 additions and 42 deletions

View File

@@ -1,4 +1,4 @@
AM_CPPFLAGS = -I${srcdir}/../include
AM_CPPFLAGS = -I${srcdir}/../include -I${srcdir}/../win32
AM_CFLAGS = $(WARN_CFLAGS)
AM_LDFLAGS = -no-undefined
LIBS = ../lib/libiscsi.la

View File

@@ -20,6 +20,8 @@
#ifdef HAVE_POLL_H
#include <poll.h>
#else
#include "win32_compat.h"
#endif
#ifdef HAVE_UNISTD_H

View File

@@ -20,6 +20,8 @@
#ifdef HAVE_POLL_H
#include <poll.h>
#else
#include "win32_compat.h"
#endif
#ifdef HAVE_UNISTD_H

View File

@@ -20,6 +20,8 @@
#ifdef HAVE_POLL_H
#include <poll.h>
#else
#include "win32_compat.h"
#endif
#ifdef HAVE_UNISTD_H

View File

@@ -20,6 +20,8 @@
#ifdef HAVE_POLL_H
#include <poll.h>
#else
#include "win32_compat.h"
#endif
#ifdef HAVE_UNISTD_H

View File

@@ -20,6 +20,8 @@
#ifdef HAVE_POLL_H
#include <poll.h>
#else
#include "win32_compat.h"
#endif
#ifdef HAVE_UNISTD_H