mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-19 20:18:49 +00:00
Workaround more Windows crap.
This commit is contained in:
parent
74169e4b5d
commit
352b6ae496
@ -33,6 +33,7 @@
|
||||
|
||||
#ifdef _WIN32
|
||||
# include <io.h>
|
||||
# undef max
|
||||
#endif
|
||||
|
||||
#include "gtest-extra.h"
|
||||
@ -97,7 +98,7 @@ errno_t test::sopen_s(
|
||||
return _sopen_s(pfh, filename, oflag, shflag, pmode);
|
||||
}
|
||||
|
||||
static LONGLONG max_file_size() {return std::numeric_limits<LONGLONG>::max(); }
|
||||
static LONGLONG max_file_size() { return std::numeric_limits<LONGLONG>::max(); }
|
||||
|
||||
BOOL test::GetFileSizeEx(HANDLE hFile, PLARGE_INTEGER lpFileSize) {
|
||||
BOOL result = GetFileSizeEx(hFile, lpFileSize);
|
||||
|
Loading…
Reference in New Issue
Block a user