Added offsetof (for the MFC).

This commit is contained in:
Francois Gouget 2001-04-23 18:22:05 +00:00 committed by Alexandre Julliard
parent b29120d2c4
commit d1ff49d7ea
1 changed files with 3 additions and 0 deletions

View File

@ -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