diff src/s/windowsnt.h @ 5930:a0d9bfe304de cygwin

more 64-bit patches for VS, not sure of many of them
author Henry Thompson <ht@markup.co.uk>
date Wed, 09 Dec 2015 10:35:23 +0000
parents f5dfcf2323bc
children
line wrap: on
line diff
--- a/src/s/windowsnt.h	Tue Dec 08 09:05:19 2015 +0000
+++ b/src/s/windowsnt.h	Wed Dec 09 10:35:23 2015 +0000
@@ -106,9 +106,11 @@
 #define SIZEOF_VOID_P 8
 #define SIZEOF_DOUBLE 8
 #define SIZEOF_OFF_T 8
+typedef __int64 ssize_t;
 #else
 #define SIZEOF_LONG_LONG 0
 #define SIZEOF_VOID_P 4
+typedef int ssize_t;
 #endif
 
 typedef int mode_t;
@@ -116,7 +118,6 @@
 typedef int uid_t;
 typedef int gid_t;
 typedef int pid_t;
-typedef int ssize_t;
 
 /* If your system uses COFF (Common Object File Format) then define the
    preprocessor symbol "COFF". */