diff options
author | Jan Lindström <jan.lindstrom@skysql.com> | 2015-05-06 16:47:23 +0300 |
---|---|---|
committer | Jan Lindström <jan.lindstrom@skysql.com> | 2015-05-06 16:47:23 +0300 |
commit | f704b3335f3155f38f951d706c0fe2060acb06c3 (patch) | |
tree | d33d96384085809e84699cce60a080d204eb881c /storage/xtradb | |
parent | 4c87f727734955f9e4a0ffde25aae4d43ec0b2a5 (diff) | |
parent | 4d606cb95520e6fff5835c05f2df4b10233d4ced (diff) | |
download | mariadb-git-f704b3335f3155f38f951d706c0fe2060acb06c3.tar.gz |
Merge pull request #52 from openquery/MDEV-8053-c99-style-for-structure-members
c99 style for assigning structure members
Diffstat (limited to 'storage/xtradb')
-rw-r--r-- | storage/xtradb/handler/i_s.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/xtradb/handler/i_s.cc b/storage/xtradb/handler/i_s.cc index 01e40222c22..6ca38d3e394 100644 --- a/storage/xtradb/handler/i_s.cc +++ b/storage/xtradb/handler/i_s.cc @@ -180,7 +180,7 @@ do { \ #if !defined __STRICT_ANSI__ && defined __GNUC__ && (__GNUC__) > 2 && \ !defined __INTEL_COMPILER && !defined __clang__ -#define STRUCT_FLD(name, value) name: value +#define STRUCT_FLD(name, value) .name = value #else #define STRUCT_FLD(name, value) value #endif |