Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(939)

Unified Diff: src/include/win/port_win.h

Issue 1163893003: Don't include <stdint.h> from within <machine/_types.h> (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « PRESUBMIT.py ('k') | src/trusted/service_runtime/include/bits/stat.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/include/win/port_win.h
diff --git a/src/include/win/port_win.h b/src/include/win/port_win.h
index 3bdc0035753a2645c288015c2e22ef8b6147a0b4..a63b963cadaaa8d4dba072258a75f214b835be9e 100644
--- a/src/include/win/port_win.h
+++ b/src/include/win/port_win.h
@@ -54,22 +54,31 @@
#include <windows.h>
/* types missing on Windows */
-typedef long off_t;
-typedef unsigned int uint32_t;
-typedef int int32_t;
-typedef unsigned char uint8_t;
-typedef unsigned int u_int32_t;
+typedef signed char __int8_t;
+typedef unsigned char __uint8_t;
+typedef short __int16_t;
typedef unsigned short __uint16_t;
-typedef unsigned short uint16_t;
-typedef short int16_t;
+typedef int __int32_t;
+typedef unsigned int __uint32_t;
+typedef __int64 __int64_t;
+typedef unsigned __int64 __uint64_t;
+
+typedef __int8_t int8_t;
+typedef __uint8_t uint8_t;
+typedef __int16_t int16_t;
+typedef __uint16_t uint16_t;
+typedef __int32_t int32_t;
+typedef __uint32_t uint32_t;
+typedef __uint32_t u_int32_t;
+typedef __int64_t int64_t;
+typedef __uint64_t uint64_t;
+
+typedef long off_t;
typedef int mode_t;
typedef long _off_t;
typedef long int __loff_t;
-typedef signed char int8_t;
typedef unsigned long DWORD;
typedef long clock_t;
-typedef __int64 int64_t;
-typedef unsigned __int64 uint64_t;
#ifdef _WIN64
typedef int64_t ssize_t;
« no previous file with comments | « PRESUBMIT.py ('k') | src/trusted/service_runtime/include/bits/stat.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698