mirror of /home/gitosis/repositories/libowfat.git
some crude attempt to fix mingw cross build
This commit is contained in:
parent
a16f238d80
commit
db4ef5494b
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…
Reference in New Issue