diff options
Diffstat (limited to 'src/stddef/offsetof.c')
| -rw-r--r-- | src/stddef/offsetof.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stddef/offsetof.c b/src/stddef/offsetof.c index c5bf733b..15b7a5f3 100644 --- a/src/stddef/offsetof.c +++ b/src/stddef/offsetof.c @@ -1,5 +1,5 @@ #include <stddef.h> -#define offsetof(type, member) ((size_t)((void*)&(((type*)0)->##member))) +#define offsetof(__type, __member) ((size_t)((void*)&(((__type*)0)->__member))) /** get offset of a structure member **/ |
