compatible 32 bit windows

This commit is contained in:
windwiny
2014-05-07 20:43:12 +08:00
parent 2a0423c11d
commit 627282a5f6
+2
View File
@@ -12,7 +12,9 @@
#include <sys/types.h>
#if defined(_WIN32) || defined(_WIN64)
#define MAXPATHLEN 1024
#if !defined(PATH_MAX)
#define PATH_MAX MAX_PATH
#endif
#define S_ISDIR(B) ((B)&_S_IFDIR)
#include "Win/dirent.h"
#include <direct.h>