mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
Use __common__ attribute in redismodule.h for Clang C builds (#9541)
This commit is contained in:
parent
5a4ab7c7d2
commit
4be2dd6ab9
@ -506,7 +506,7 @@ typedef long long mstime_t;
|
||||
#endif
|
||||
|
||||
#ifndef REDISMODULE_ATTR_COMMON
|
||||
# if defined(__GNUC__) && !defined(__clang__)
|
||||
# if defined(__GNUC__) && !(defined(__clang__) && defined(__cplusplus))
|
||||
# define REDISMODULE_ATTR_COMMON __attribute__((__common__))
|
||||
# else
|
||||
# define REDISMODULE_ATTR_COMMON
|
||||
|
Loading…
Reference in New Issue
Block a user