summaryrefslogtreecommitdiff
path: root/MacOSX/386
diff options
context:
space:
mode:
Diffstat (limited to 'MacOSX/386')
-rw-r--r--MacOSX/386/include/lib9.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/MacOSX/386/include/lib9.h b/MacOSX/386/include/lib9.h
index 69bbbb95..f7c89d6d 100644
--- a/MacOSX/386/include/lib9.h
+++ b/MacOSX/386/include/lib9.h
@@ -65,6 +65,8 @@ typedef struct Proc Proc;
#define SET(x)
#define nelem(x) (sizeof(x)/sizeof((x)[0]))
+#undef offsetof
+#undef assert
#define offsetof(s, m) (ulong)(&(((s*)0)->m))
#define assert(x) if(x){}else _assert("x")