some crude attempt to fix mingw cross build

master
leitner 3 years ago
parent 853242b078
commit 07c3f0bf3d

@ -2,6 +2,10 @@
#ifndef IO_H
#define IO_H
#ifdef __MINGW32__
#include_next <io.h>
#endif
/* http://cr.yp.to/lib/io.html */
#include <libowfat/uint64.h>

@ -6,6 +6,7 @@
#include "libowfat/array.h"
#include "libowfat/iarray.h"
#ifdef __MINGW32__
#include <winsock2.h>
#include "socket.h"
my_extern HANDLE io_comport;
#else

Loading…
Cancel
Save