comparison 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
comparison
equal deleted inserted replaced
5929:f5dfcf2323bc 5930:a0d9bfe304de
104 #ifdef _WIN64 104 #ifdef _WIN64
105 #define SIZEOF_LONG_LONG 8 105 #define SIZEOF_LONG_LONG 8
106 #define SIZEOF_VOID_P 8 106 #define SIZEOF_VOID_P 8
107 #define SIZEOF_DOUBLE 8 107 #define SIZEOF_DOUBLE 8
108 #define SIZEOF_OFF_T 8 108 #define SIZEOF_OFF_T 8
109 typedef __int64 ssize_t;
109 #else 110 #else
110 #define SIZEOF_LONG_LONG 0 111 #define SIZEOF_LONG_LONG 0
111 #define SIZEOF_VOID_P 4 112 #define SIZEOF_VOID_P 4
113 typedef int ssize_t;
112 #endif 114 #endif
113 115
114 typedef int mode_t; 116 typedef int mode_t;
115 typedef int pid_t; 117 typedef int pid_t;
116 typedef int uid_t; 118 typedef int uid_t;
117 typedef int gid_t; 119 typedef int gid_t;
118 typedef int pid_t; 120 typedef int pid_t;
119 typedef int ssize_t;
120 121
121 /* If your system uses COFF (Common Object File Format) then define the 122 /* If your system uses COFF (Common Object File Format) then define the
122 preprocessor symbol "COFF". */ 123 preprocessor symbol "COFF". */
123 124
124 #define COFF 125 #define COFF