Fix include files for Windows (hopefully).
This commit is contained in:
@@ -31,10 +31,12 @@
|
|||||||
|
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <unistd.h>
|
#if !defined(WIN32)
|
||||||
#ifdef _WIN32
|
# include <unistd.h>
|
||||||
#include <windows.h>
|
#else
|
||||||
#define isatty _isatty
|
# include <windows.h>
|
||||||
|
# include <io.h>
|
||||||
|
# define isatty _isatty
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* common */
|
/* common */
|
||||||
|
|||||||
Reference in New Issue
Block a user