Commit dcd590b9 authored by gabime's avatar gabime

fstat64(..) -> ::fstat64(..)

parent 8dc3a666
......@@ -216,7 +216,7 @@ SPDLOG_INLINE size_t filesize(FILE *f)
// 64 bits(but not in osx or cygwin, where fstat64 is deprecated)
#if !defined(__FreeBSD__) && !defined(__APPLE__) && (defined(__x86_64__) || defined(__ppc64__)) && !defined(__CYGWIN__)
struct stat64 st;
if (fstat64(fd, &st) == 0)
if (::fstat64(fd, &st) == 0)
{
return static_cast<size_t>(st.st_size);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment