diff --git a/src/lib/w32/w32misc.h b/src/lib/w32/w32misc.h index c1f6c584..a3bd3c0e 100644 --- a/src/lib/w32/w32misc.h +++ b/src/lib/w32/w32misc.h @@ -55,7 +55,9 @@ typedef unsigned short mode_t; typedef long off_t; typedef int pid_t; -typedef __W64 int ssize_t; +#ifdef _MSC_VER +typedef int __w64 ssize_t; +#endif /* time.h */ struct tm;