[windows][core] Define S_ISDIR when not defined
This commit is contained in:
@@ -9,7 +9,10 @@
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#if defined(_WINDOWS) && !defined(S_ISDIR)
|
||||
#define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user