summaryrefslogtreecommitdiffhomepage
path: root/include/psxtypes/compiler/__nt_compiler_gcc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/psxtypes/compiler/__nt_compiler_gcc.h')
-rw-r--r--include/psxtypes/compiler/__nt_compiler_gcc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/psxtypes/compiler/__nt_compiler_gcc.h b/include/psxtypes/compiler/__nt_compiler_gcc.h
index df81c64..b6cb064 100644
--- a/include/psxtypes/compiler/__nt_compiler_gcc.h
+++ b/include/psxtypes/compiler/__nt_compiler_gcc.h
@@ -73,6 +73,10 @@
#endif
+/* offsetof */
+#define __offsetof(st,member) __builtin_offsetof(st,member)
+
+
/* named section support */
#define __attr_section__(s) __attribute__((section(s)))
#define __attr_section_decl__(s)