aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/stddef.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/stddef.h b/include/stddef.h
index 871a618..bb239f8 100644
--- a/include/stddef.h
+++ b/include/stddef.h
@@ -71,6 +71,8 @@
*/
#define offsetof(type, member) \
((size_t)((char*)&(((type*)NULL)->member) - (char*)NULL))
+/* TODO The behaviour of this is undefined, and a builtin function
+ * shall be used when available. That would also improve diagnostics. */