Browse Source

some crude attempt to fix mingw cross build

master
Felix von Leitner 5 months ago
parent
commit
db4ef5494b
  1. 4
      io.h
  2. 1
      io_internal.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>

1
io_internal.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