Fix a few Windows compilation errors

develop
lethosor 2015-01-28 19:58:32 -05:00
parent bebceffa5f
commit f98e2964e6
2 changed files with 4 additions and 3 deletions

@ -62,6 +62,7 @@ SOFTWARE.
#endif #endif
#include <cstdio> #include <cstdio>
#include <cstdint>
#include <errno.h> #include <errno.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>

@ -153,9 +153,9 @@ int64_t Filesystem::attr (std::string path) \
return (int64_t)info.st_##attr; \ return (int64_t)info.st_##attr; \
} }
DEFINE_STAT_TIME_WRAPPER(atime); DEFINE_STAT_TIME_WRAPPER(atime)
DEFINE_STAT_TIME_WRAPPER(ctime); DEFINE_STAT_TIME_WRAPPER(ctime)
DEFINE_STAT_TIME_WRAPPER(mtime); DEFINE_STAT_TIME_WRAPPER(mtime)
#undef DEFINE_STAT_TIME_WRAPPER #undef DEFINE_STAT_TIME_WRAPPER