- Timestamp:
- Oct 3, 2011, 2:18:32 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/libc-0.6/src/emx/include/sys/cdefs.h
r3737 r3738 330 330 #define __offsetof(type, field) __builtin_offsetof(type, field) 331 331 #else 332 #if !defined(__cplusplus) || !__GNUC_PREREQ (3,4) /* bird: __offsetof__ was introduced in 3.4.x. */332 #if !defined(__cplusplus) || !__GNUC_PREREQ__(3,4) /* bird: __offsetof__ was introduced in 3.4.x. */ 333 333 #define __offsetof(type, field) ((size_t)(&((type *)0)->field)) 334 334 #else
Note:
See TracChangeset
for help on using the changeset viewer.