diff options
Diffstat (limited to 'include/zbxtypes.h')
-rw-r--r-- | include/zbxtypes.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/zbxtypes.h b/include/zbxtypes.h index 230c898d3a5..e4d39f5d412 100644 --- a/include/zbxtypes.h +++ b/include/zbxtypes.h @@ -45,6 +45,7 @@ # include <strsafe.h> # define zbx_stat(path, buf) __zbx_stat(path, buf) +# define zbx_fstat(fd, buf) _fstat64(fd, buf) # ifndef __UINT64_C # define __UINT64_C(x) x @@ -81,6 +82,7 @@ typedef __int64 zbx_offset_t; #else /* _WINDOWS */ # define zbx_stat(path, buf) stat(path, buf) +# define zbx_fstat(fd, buf) fstat(fd, buf) # ifndef __UINT64_C # ifdef UINT64_C |