mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-12-21 02:32:15 +00:00
Fix Linux/GCC compilation issue.
This commit is contained in:
parent
e63ace34e9
commit
6e364ad774
@ -44,7 +44,7 @@ inline int EightBit::countBits(uint8_t value) noexcept {
|
||||
|
||||
inline bool EightBit::oddParity(const uint8_t value) noexcept {
|
||||
#ifdef __GNUG__
|
||||
return __builtin_parity(value)
|
||||
return __builtin_parity(value);
|
||||
#else
|
||||
return countBits(value) % 2;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user