mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-02 11:28:20 +00:00
More mingw fixes
This commit is contained in:
parent
03ee6a0295
commit
57f9f06619
4
posix.h
4
posix.h
@ -61,9 +61,9 @@
|
||||
# define FMT_SYSTEM(call) call
|
||||
# ifdef _WIN32
|
||||
// Fix warnings about deprecated symbols.
|
||||
# define FMT_POSIX_CALL(call) ::_##call
|
||||
# define FMT_POSIX_CALL(call) (::_##call)
|
||||
# else
|
||||
# define FMT_POSIX_CALL(call) (::call)
|
||||
# define FMT_POSIX_CALL(call) ::call
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
@ -39,7 +39,7 @@ struct stat;
|
||||
|
||||
namespace test {
|
||||
|
||||
#ifndef _WIN32
|
||||
#if !defined(_WIN32) || defined(__MINGW32__)
|
||||
// Size type for read and write.
|
||||
typedef size_t size_t;
|
||||
typedef ssize_t ssize_t;
|
||||
|
Loading…
Reference in New Issue
Block a user