aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-07-25 13:17:33 +0000
committermarha <marha@users.sourceforge.net>2009-07-25 13:17:33 +0000
commit02934f83dd4f5848083e2e5cdbc6ef7f60361f06 (patch)
tree61beb3c41beb366cdc9464da0835e9444c39a453 /include
parentcb897b8ffca0a68c017c2edfa523cb5ff0491962 (diff)
parenta7be905cf4423239285228d4e23caf2172adfa8b (diff)
downloadvcxsrv-02934f83dd4f5848083e2e5cdbc6ef7f60361f06.tar.gz
vcxsrv-02934f83dd4f5848083e2e5cdbc6ef7f60361f06.tar.bz2
vcxsrv-02934f83dd4f5848083e2e5cdbc6ef7f60361f06.zip
libx11 compiles again
Diffstat (limited to 'include')
-rw-r--r--include/stdint.h11
-rw-r--r--include/unistd.h2
2 files changed, 7 insertions, 6 deletions
diff --git a/include/stdint.h b/include/stdint.h
index dbcfbc18e..f7d15a187 100644
--- a/include/stdint.h
+++ b/include/stdint.h
@@ -17,7 +17,7 @@ details. */
#define __int8_t_defined
typedef signed char int8_t;
typedef short int16_t;
-typedef long long int64_t;
+typedef __int64 int64_t;
#endif
typedef unsigned char uint8_t;
@@ -28,12 +28,12 @@ typedef unsigned short uint16_t;
typedef signed char int_least8_t;
typedef short int_least16_t;
typedef long int_least32_t;
-typedef long long int_least64_t;
+typedef __int64 int_least64_t;
typedef unsigned char uint_least8_t;
typedef unsigned short uint_least16_t;
typedef unsigned long uint_least32_t;
-typedef unsigned long long uint_least64_t;
+typedef unsigned __int64 uint_least64_t;
/* Fastest minimum-width integer types */
@@ -45,7 +45,10 @@ typedef long long int_fast64_t;
typedef unsigned char uint_fast8_t;
typedef unsigned long uint_fast16_t;
typedef unsigned long uint_fast32_t;
-typedef unsigned long long uint_fast64_t;
+typedef unsigned __int64 uint_fast64_t;
+
+typedef unsigned __int64 uint64_t;
+typedef int ssize_t;
/* Integer types capable of holding object pointers */
diff --git a/include/unistd.h b/include/unistd.h
index 0e0253de7..9bb36d7e0 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -4,6 +4,4 @@
#define strcasecmp _stricmp
#define snprintf _snprintf
-typedef unsigned __int64 uint64_t;
-typedef int ssize_t;
#endif