Skip to content

Commit

Permalink
Merge pull request #1931 from vadz/msvc-undef-warning-fix
Browse files Browse the repository at this point in the history
Fix warning about testing _WIN64 which might be undefined
  • Loading branch information
gabime committed May 6, 2021
2 parents db484cc + ff5221b commit 0a92d1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/spdlog/details/os-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 0a92d1d

Please sign in to comment.