Fixe compiler error under MinGW due to typedef'ing ssize_t. Cygwin OK

pull/35/head
Jeffrey Walton 2015-07-30 14:38:54 -04:00
parent efaaea4a90
commit c7e5bebcf2
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ const lword LWORD_MAX = W64LIT(0xffffffffffffffff);
// Handle missing ssize_t on Windows. Typedef's taken from:
// https://msdn.microsoft.com/en-us/library/windows/desktop/aa383751%28v=vs.85%29.aspx
#if defined(_WIN32) || defined(_WIN64)
#if (defined(_WIN32) || defined(_WIN64)) && !(defined(__MINGW__) || defined(__MINGW32__))
# if defined(_WIN64)
typedef __int64 LONG_PTR;
# else