aboutsummaryrefslogtreecommitdiffhomepage
path: root/embedfilesdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'embedfilesdir.c')
-rw-r--r--embedfilesdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/embedfilesdir.c b/embedfilesdir.c
index 9d64740..5d58c60 100644
--- a/embedfilesdir.c
+++ b/embedfilesdir.c
@@ -15,7 +15,7 @@ typedef __typeof__(sizeof 0) size_t;\n\
/*typedef __typeof__(L'a') wchar_t;*/\n\
typedef int wchar_t;\n\
#define NULL ((void *)0)\n\
-#define offsetof(_Type, _Memb) ((size_t)(&((_Type *)0)->_Memb - (_Type *)0))\n\
+#define offsetof(type, memb) ((size_t)((char *)&((type *)0)->memb - (char *)0))\n\
")},
{"stdarg.h", S("\