Fix Windows build
This commit is contained in:
parent
7eba1d6bc6
commit
3bceee9570
@ -27,6 +27,9 @@
|
|||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
#if defined __WIN32__ || defined _WIN32 || defined _Windows
|
||||||
|
#define S_ISDIR(m) (((m) & _S_IFDIR) == _S_IFDIR)
|
||||||
|
#endif
|
||||||
#include "lstring.h"
|
#include "lstring.h"
|
||||||
#include "sc.h"
|
#include "sc.h"
|
||||||
#if defined LINUX || defined __FreeBSD__ || defined __OpenBSD__
|
#if defined LINUX || defined __FreeBSD__ || defined __OpenBSD__
|
||||||
|
Loading…
x
Reference in New Issue
Block a user