Files
android_development/ndk/platforms/android-3/include
Andrew Hsieh bbff7fbd64 Sync stddef.h
To be the same as bionic's.  See
ec37237d69289e2bb9836bfa0d071ab958234d00

The new one also no longer undef offsetof and replaces it with
"((size_t) &((TYPE *)0)->MEMBER)" if __compiler_offsetof isn't
defined.  The problem with the old behavior are that
1. __compiler_offsetof isn't defined in linux/compiler.h even though
   all Android compilers support __builtin_offsetof
2. As as result, offsetof defined in stddef.h to use __builtin_offsetof
   is undefined and replaced here.  Problem is,
   "((size_t) &((TYPE *)0)->MEMBER)" isn't considered a compile-time
   constant, and fails some code expect offsetof to be.

Change-Id: I3ebb0de9e1d95305a0890a099360ff6936d24b2f
2013-01-09 17:33:13 +08:00
..
2010-09-22 18:04:36 +02:00
2012-09-24 12:31:43 -07:00
2013-01-09 17:33:13 +08:00
2010-09-22 18:04:36 +02:00
2012-06-12 10:38:00 +08:00
2012-04-02 16:04:42 +08:00
2010-09-22 18:04:36 +02:00
2013-01-03 12:28:48 +08:00
2010-09-22 18:04:36 +02:00
2010-09-22 18:04:36 +02:00
2010-09-22 18:04:36 +02:00
2010-09-22 18:04:36 +02:00
2010-09-22 18:04:36 +02:00
2010-09-22 18:04:36 +02:00
2010-09-22 18:04:36 +02:00
2012-12-05 13:05:15 +08:00
2010-09-22 18:04:36 +02:00
2010-09-22 18:04:36 +02:00
2010-09-22 18:04:36 +02:00
2010-09-22 18:04:36 +02:00
2010-09-22 18:04:36 +02:00
2010-10-28 17:39:11 -07:00
2012-08-21 18:18:00 +08:00
2010-09-22 18:04:36 +02:00
2010-09-22 18:04:36 +02:00
2010-09-22 18:04:36 +02:00
2012-04-02 16:07:07 +08:00
2010-09-22 18:04:36 +02:00
2010-09-22 18:04:36 +02:00
2012-12-20 19:08:54 +08:00
2010-09-22 18:04:36 +02:00
2010-09-22 18:04:36 +02:00
2010-09-22 18:04:36 +02:00
2010-09-22 18:04:36 +02:00
2010-09-22 18:04:36 +02:00
2010-09-22 18:04:36 +02:00
2010-09-22 18:04:36 +02:00
2010-09-22 18:04:36 +02:00
2010-09-22 18:04:36 +02:00
2010-09-22 18:04:36 +02:00
2012-04-02 17:54:27 +08:00
2010-09-22 18:04:36 +02:00
2010-09-22 18:04:36 +02:00
2010-09-22 18:04:36 +02:00
2010-09-22 18:04:36 +02:00
2010-09-22 18:04:36 +02:00