We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e2ed25 commit 1830784Copy full SHA for 1830784
src/crypto/common.h
@@ -82,12 +82,12 @@ void static inline WriteBE64(unsigned char* ptr, uint64_t x)
82
/** Return the smallest number n such that (x >> n) == 0 (or 64 if the highest bit in x is set. */
83
uint64_t static inline CountBits(uint64_t x)
84
{
85
-#ifdef HAVE_DECL___BUILTIN_CLZL
+#if HAVE_DECL___BUILTIN_CLZL
86
if (sizeof(unsigned long) >= sizeof(uint64_t)) {
87
return x ? 8 * sizeof(unsigned long) - __builtin_clzl(x) : 0;
88
}
89
#endif
90
-#ifdef HAVE_DECL___BUILTIN_CLZLL
+#if HAVE_DECL___BUILTIN_CLZLL
91
if (sizeof(unsigned long long) >= sizeof(uint64_t)) {
92
return x ? 8 * sizeof(unsigned long long) - __builtin_clzll(x) : 0;
93
0 commit comments