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

Fix warning about testing _WIN64 which might be undefined
This commit is contained in:
Gabi Melman 2021-05-07 01:05:41 +03:00 committed by GitHub
commit 0a92d1d684
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ SPDLOG_INLINE size_t filesize(FILE *f)
}
#if defined(_WIN32) && !defined(__CYGWIN__)
int fd = ::_fileno(f);
#if _WIN64 // 64 bits
#if defined(_WIN64) // 64 bits
__int64 ret = ::_filelengthi64(fd);
if (ret >= 0)
{