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

Unified Diff: bits/types.h

Issue 6026005: Fix __fxstat which is called from fstat. Remove obsolete fstat64. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-glibc.git@master
Patch Set: refactoring fxstat.c Created 10 years 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 | « no previous file | bits/typesizes.h » ('j') | include/features.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bits/types.h
diff --git a/bits/types.h b/bits/types.h
index 3ebe82f0583edbd602efa522c8e3eb58a04c0800..ba7efe68344526ffb7f4490711f6a68ff44c35f8 100644
--- a/bits/types.h
+++ b/bits/types.h
@@ -40,7 +40,7 @@ typedef signed short int __int16_t;
typedef unsigned short int __uint16_t;
typedef signed int __int32_t;
typedef unsigned int __uint32_t;
-#if __WORDSIZE == 64
+#if __WORDSIZE == 64 && !defined __native_client__
typedef signed long int __int64_t;
typedef unsigned long int __uint64_t;
#elif defined __GLIBC_HAVE_LONG_LONG
@@ -49,7 +49,7 @@ __extension__ typedef unsigned long long int __uint64_t;
#endif
/* quad_t is also 64 bits. */
-#if __WORDSIZE == 64
+#if __WORDSIZE == 64 && !defined __native_client__
typedef long int __quad_t;
typedef unsigned long int __u_quad_t;
#elif defined __GLIBC_HAVE_LONG_LONG
@@ -102,7 +102,8 @@ typedef struct
#define __U32_TYPE unsigned int
#define __SLONGWORD_TYPE long int
#define __ULONGWORD_TYPE unsigned long int
-#if __WORDSIZE == 32
+
eaeltsin 2011/01/13 10:43:45 New empty line here? Please remove if so.
halyavin 2011/01/13 11:15:21 Done.
+#if __WORDSIZE == 32 || defined __native_client__
# define __SQUAD_TYPE __quad_t
# define __UQUAD_TYPE __u_quad_t
# define __SWORD_TYPE int
« no previous file with comments | « no previous file | bits/typesizes.h » ('j') | include/features.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698