Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
f704b333
Commit
f704b333
authored
May 06, 2015
by
Jan Lindström
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #52 from openquery/MDEV-8053-c99-style-for-structure-members
c99 style for assigning structure members
parents
4c87f727
4d606cb9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
storage/innobase/handler/i_s.cc
storage/innobase/handler/i_s.cc
+1
-1
storage/xtradb/handler/i_s.cc
storage/xtradb/handler/i_s.cc
+1
-1
No files found.
storage/innobase/handler/i_s.cc
View file @
f704b333
...
...
@@ -158,7 +158,7 @@ do { \
} while (0)
#if !defined __STRICT_ANSI__ && defined __GNUC__ && (__GNUC__) > 2 && !defined __INTEL_COMPILER
#define STRUCT_FLD(name, value)
name:
value
#define STRUCT_FLD(name, value)
.name =
value
#else
#define STRUCT_FLD(name, value) value
#endif
...
...
storage/xtradb/handler/i_s.cc
View file @
f704b333
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment