diff options
Diffstat (limited to 'include/compat/sys/stat.h')
-rw-r--r-- | include/compat/sys/stat.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/compat/sys/stat.h b/include/compat/sys/stat.h index b88da1d..aa15c9a 100644 --- a/include/compat/sys/stat.h +++ b/include/compat/sys/stat.h | |||
@@ -118,4 +118,12 @@ | |||
118 | 118 | ||
119 | #endif | 119 | #endif |
120 | 120 | ||
121 | #ifdef _WIN32 | ||
122 | int posix_fstat(int fd, struct stat *statbuf); | ||
123 | |||
124 | #ifndef NO_REDEF_POSIX_FUNCTIONS | ||
125 | #define fstat(fd, statbuf) posix_fstat(fd, statbuf) | ||
126 | #endif | ||
127 | #endif | ||
128 | |||
121 | #endif | 129 | #endif |