(ssize) [_WIN32]: Switch __W64 to _w64, incorrectly case.
ssize_t declaration conflicts with MinGW long declaration for ssize_t so add a #ifdef _MSC_VER around the ssize_t declaration.
This commit is contained in:
parent
2a0597be8f
commit
d5a1b3c6cd
1 changed files with 3 additions and 1 deletions
|
@ -55,7 +55,9 @@
|
||||||
typedef unsigned short mode_t;
|
typedef unsigned short mode_t;
|
||||||
typedef long off_t;
|
typedef long off_t;
|
||||||
typedef int pid_t;
|
typedef int pid_t;
|
||||||
typedef __W64 int ssize_t;
|
#ifdef _MSC_VER
|
||||||
|
typedef int __w64 ssize_t;
|
||||||
|
#endif
|
||||||
|
|
||||||
/* time.h */
|
/* time.h */
|
||||||
struct tm;
|
struct tm;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue