[_WIN32, __GNUC__]: Reorganize the include files for WIN32 to
separate the MinGW environment from the MSVC environment and WIN32 environment. Reorganize the order of the includes so the system files are always loaded first to prevent with misc.h defines. Remove system file includes from misc.h.
This commit is contained in:
parent
b1399ebbad
commit
d413884a37
15 changed files with 61 additions and 28 deletions
|
@ -36,6 +36,9 @@
|
|||
#include <config.h>
|
||||
|
||||
#include <errno.h>
|
||||
#if defined(_WIN32) && !defined(__GNUC__)
|
||||
#include <io.h>
|
||||
#endif
|
||||
#include <fcntl.h>
|
||||
#include <signal.h>
|
||||
#include <sys/types.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue