aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/include
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2017-02-01 14:56:21 +0100
committerBernhard Schommer <bernhardschommer@gmail.com>2017-02-01 14:56:21 +0100
commit34886d135cec62883e76ba25bda34b4623e4a696 (patch)
tree11f91b98317dbed13dabf2e1c02008eaca58dcdf /runtime/include
parent31f86965bf172fb32f9cca99a292ebdf6cea57b9 (diff)
downloadcompcert-kvx-34886d135cec62883e76ba25bda34b4623e4a696.tar.gz
compcert-kvx-34886d135cec62883e76ba25bda34b4623e4a696.zip
Change the syntax to gcc/clangs syntax.
This only means that there must be one identifier at the begining and then a designator. Bug 20765
Diffstat (limited to 'runtime/include')
-rw-r--r--runtime/include/stddef.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/include/stddef.h b/runtime/include/stddef.h
index 958720a1..452497c3 100644
--- a/runtime/include/stddef.h
+++ b/runtime/include/stddef.h
@@ -114,7 +114,7 @@ typedef signed int wchar_t;
#endif
#if defined(_STDDEF_H) && !defined(offsetof)
-#define offsetof(ty,member) (__builtin_offsetof(ty,.member))
+#define offsetof(ty,member) (__builtin_offsetof(ty,member))
#endif
#endif