Unverified Commit 0a92d1d6 authored by Gabi Melman's avatar Gabi Melman Committed by GitHub

Merge pull request #1931 from vadz/msvc-undef-warning-fix

Fix warning about testing _WIN64 which might be undefined
parents db484cc4 ff5221b6
...@@ -214,7 +214,7 @@ SPDLOG_INLINE size_t filesize(FILE *f) ...@@ -214,7 +214,7 @@ SPDLOG_INLINE size_t filesize(FILE *f)
} }
#if defined(_WIN32) && !defined(__CYGWIN__) #if defined(_WIN32) && !defined(__CYGWIN__)
int fd = ::_fileno(f); int fd = ::_fileno(f);
#if _WIN64 // 64 bits #if defined(_WIN64) // 64 bits
__int64 ret = ::_filelengthi64(fd); __int64 ret = ::_filelengthi64(fd);
if (ret >= 0) if (ret >= 0)
{ {
......
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