Skip to content

Commit c031afc

Browse files
committed
io.h is sometimes also needed for MinGW
1 parent 8c7cb0a commit c031afc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

otftotfm/otftotfm.cc

+1-3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#endif
1717
#ifdef WIN32
1818
# define _USE_MATH_DEFINES
19+
# include <io.h>
1920
#endif
2021
#include <efont/psres.hh>
2122
#include <efont/t1rw.hh>
@@ -63,9 +64,6 @@
6364
#ifdef HAVE_FCNTL_H
6465
# include <fcntl.h>
6566
#endif
66-
#ifdef _MSC_VER
67-
# include <io.h>
68-
#endif
6967

7068
using namespace Efont;
7169

0 commit comments

Comments
 (0)