mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-29 14:07:58 +03:00
8 lines
197 B
C
8 lines
197 B
C
![]() |
#ifndef _OFFSETOF_DEF_H_
|
||
|
#define _OFFSETOF_DEF_H_
|
||
|
|
||
|
#undef offsetof
|
||
|
#define offsetof(a, b) (reinterpret_cast<uint8*>(&reinterpret_cast<a*>(0x10)->b) - reinterpret_cast<uint8*>(0x10))
|
||
|
|
||
|
#endif
|