mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-29 06:07:56 +03:00
7 lines
197 B
C
7 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
|