OSDN Git Service
(root)
/
android-x86
/
bionic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce6c1d6
)
use consistent guards for off_t and size_t defines for IA
author
Bruce Beare
<bruce.j.beare@intel.com>
Sun, 26 Dec 2010 17:29:57 +0000
(09:29 -0800)
committer
Jean-Baptiste Queru
<jbq@google.com>
Fri, 7 Jan 2011 19:42:54 +0000
(11:42 -0800)
Change-Id: Ie92b7597883c99e7f4101f4cf5e0ad267b4ee706
libc/arch-x86/include/machine/_types.h
patch
|
blob
|
history
diff --git
a/libc/arch-x86/include/machine/_types.h
b/libc/arch-x86/include/machine/_types.h
index
be4f6e4
..
e9280a5
100644
(file)
--- a/
libc/arch-x86/include/machine/_types.h
+++ b/
libc/arch-x86/include/machine/_types.h
@@
-36,8
+36,8
@@
#define _I386__TYPES_H_
/* the kernel defines size_t as unsigned int, but g++ wants it to be unsigned long */
-#ifndef _SIZE_T
-# define _SIZE_T
+#ifndef _SIZE_T
_DEFINED_
+# define _SIZE_T
_DEFINED_
# ifdef ANDROID
typedef unsigned int size_t;
# else
@@
-54,9
+54,6
@@
typedef long int ssize_t;
typedef long ptrdiff_t;
#endif
-#define _OFF_T_DEFINED_
-#define _SIZE_T_DEFINED_
-
#include <linux/types.h>
/* 7.18.1.1 Exact-width integer types */