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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
4d606cb9
Commit
4d606cb9
authored
Apr 24, 2015
by
Daniel Black
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
c99 style for assigning structure members
parent
2d6c0a54
Changes
2
Hide 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 @
4d606cb9
...
...
@@ -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 @
4d606cb9
...
...
@@ -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