some crude attempt to fix mingw cross build
This commit is contained in:
parent
853242b078
commit
07c3f0bf3d
4
io.h
4
io.h
@ -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…
x
Reference in New Issue
Block a user