*: check defined(_WIN32) instead of defined(WIN32)
Only _WIN32 is defined by the compiler, and WIN32 is not standardized and may be missing. Closes #169
This commit is contained in:
@@ -86,7 +86,7 @@ Stat(Path path, bool follow)
|
||||
|
||||
info.size = src.GetSize();
|
||||
info.mtime = src.GetModificationTime();
|
||||
#ifdef WIN32
|
||||
#ifdef _WIN32
|
||||
info.device = info.inode = 0;
|
||||
#else
|
||||
info.device = src.GetDevice();
|
||||
|
Reference in New Issue
Block a user