mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-20 00:33:57 +00:00
Fix the compilation workaround so it's not entirely dead code - clang
also defines __GNUC__. Submitted by: cem Sponsored by: Klara Inc, Netflix
This commit is contained in:
parent
86b90d9179
commit
2c7cf9a3c2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=353362
|
@ -58,7 +58,7 @@ typedef uint64_t u64q_t;
|
|||
typedef s64q_t smaxq_t;
|
||||
typedef u64q_t umaxq_t;
|
||||
|
||||
#if defined(__GNUC__)
|
||||
#if defined(__GNUC__) && !defined(__clang__)
|
||||
/* Ancient GCC hack to de-const, remove when GCC4 is removed. */
|
||||
#define Q_BT(q) __typeof(1 * q)
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue