diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-10-13 07:08:06 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-10-13 07:08:06 +0000 |
commit | 818ff8c267c146967cda6e9e35e56e7f99509d5f (patch) | |
tree | 5eb0ef9b03f5c1147f1a8a7869eb081e0ef29202 /DuetPkg/PciRootBridgeNoEnumerationDxe/X64 | |
parent | 2b0fcbf5379b240ebeeff3697d4bbe57d2bf8aab (diff) | |
download | edk2-platforms-818ff8c267c146967cda6e9e35e56e7f99509d5f.tar.xz |
MdePkg: Use builtin offsetof function for GCC 4.0 and newer
GCC 4.0 and newer have a builtin function for implementing
'offsetof' therefore we make use of it for our OFFSET_OF
macro.
References:
http://gcc.gnu.org/onlinedocs/gcc-4.0.0/gcc/Offsetof.html
http://gcc.gnu.org/onlinedocs/gcc-4.5.1/gcc/Offsetof.html
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10931 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/PciRootBridgeNoEnumerationDxe/X64')
0 files changed, 0 insertions, 0 deletions