Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
4be2dd6a
Unverified
Commit
4be2dd6a
authored
Sep 27, 2021
by
Ozan Tezcan
Committed by
GitHub
Sep 27, 2021
Browse files
Use __common__ attribute in redismodule.h for Clang C builds (#9541)
parent
5a4ab7c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redismodule.h
View file @
4be2dd6a
...
@@ -506,7 +506,7 @@ typedef long long mstime_t;
...
@@ -506,7 +506,7 @@ typedef long long mstime_t;
#endif
#endif
#ifndef REDISMODULE_ATTR_COMMON
#ifndef REDISMODULE_ATTR_COMMON
# if defined(__GNUC__) && !defined(__clang__)
# if defined(__GNUC__) && !
(
defined(__clang__)
&& defined(__cplusplus))
# define REDISMODULE_ATTR_COMMON __attribute__((__common__))
# define REDISMODULE_ATTR_COMMON __attribute__((__common__))
# else
# else
# define REDISMODULE_ATTR_COMMON
# define REDISMODULE_ATTR_COMMON
...
...
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