Unverified Commit 4be2dd6a authored by Ozan Tezcan's avatar Ozan Tezcan Committed by GitHub
Browse files

Use __common__ attribute in redismodule.h for Clang C builds (#9541)

parent 5a4ab7c7
...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment