Added offsetof (for the MFC).
This commit is contained in:
parent
b29120d2c4
commit
d1ff49d7ea
|
@ -19,6 +19,9 @@ typedef unsigned int MSVCRT(size_t);
|
|||
/* Best to leave this one alone: wchar_t */
|
||||
|
||||
|
||||
#define offsetof(s,m) (size_t)&(((s*)NULL)->m)
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue