Fix Windows build

This commit is contained in:
Zeex 2015-03-31 01:38:37 +06:00
parent 7eba1d6bc6
commit 3bceee9570

View File

@ -27,6 +27,9 @@
#include <ctype.h>
#include <math.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 "sc.h"
#if defined LINUX || defined __FreeBSD__ || defined __OpenBSD__