|
|
1.1 ! root 1: /* ! 2: * Copyright (C) 2007 Free Software Foundation, Inc. ! 3: * ! 4: * This file is part of GNU Mach. ! 5: * ! 6: * GNU Mach is free software; you can redistribute it and/or modify it ! 7: * under the terms of the GNU General Public License as published by the ! 8: * Free Software Foundation; either version 2, or (at your option) any later ! 9: * version. ! 10: * ! 11: * This program is distributed in the hope that it will be useful, but ! 12: * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY ! 13: * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License ! 14: * for more details. ! 15: * ! 16: * You should have received a copy of the GNU General Public License along ! 17: * with this program; if not, write to the Free Software Foundation, Inc., ! 18: * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ! 19: */ ! 20: ! 21: #ifndef _STDDEF_H_ ! 22: #define _STDDEF_H_ ! 23: ! 24: /* From GCC's `/lib/gcc/X/X/include/stddef.h'. */ ! 25: ! 26: /* Offset of member MEMBER in a struct of type TYPE. */ ! 27: #define offsetof(TYPE, MEMBER) __builtin_offsetof (TYPE, MEMBER) ! 28: ! 29: #endif /* _STDDEF_H_ */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.