More mingw fixes

This commit is contained in:
vitaut 2015-03-12 08:11:04 -07:00
parent 03ee6a0295
commit 57f9f06619
2 changed files with 3 additions and 3 deletions

View File

@ -61,9 +61,9 @@
# define FMT_SYSTEM(call) call # define FMT_SYSTEM(call) call
# ifdef _WIN32 # ifdef _WIN32
// Fix warnings about deprecated symbols. // Fix warnings about deprecated symbols.
# define FMT_POSIX_CALL(call) ::_##call # define FMT_POSIX_CALL(call) (::_##call)
# else # else
# define FMT_POSIX_CALL(call) (::call) # define FMT_POSIX_CALL(call) ::call
# endif # endif
#endif #endif

View File

@ -39,7 +39,7 @@ struct stat;
namespace test { namespace test {
#ifndef _WIN32 #if !defined(_WIN32) || defined(__MINGW32__)
// Size type for read and write. // Size type for read and write.
typedef size_t size_t; typedef size_t size_t;
typedef ssize_t ssize_t; typedef ssize_t ssize_t;