(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:
Ron Koenderink 2007-08-24 20:51:00 +00:00
parent 2a0597be8f
commit d5a1b3c6cd

View file

@ -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;