mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-02-20 18:32:01 +00:00
Undefine macros after using them
This commit is contained in:
parent
943cb2ca64
commit
457a1b9690
1 changed files with 3 additions and 0 deletions
3
util.c
3
util.c
|
@ -484,6 +484,9 @@ uint16_t util_crc16(uint16_t current, const char *GMQCC_RESTRICT k, size_t len)
|
|||
data += 8;
|
||||
}
|
||||
|
||||
#undef SELECT_BULK
|
||||
#undef SELECT_DATA
|
||||
|
||||
/* deal with the rest with the byte method */
|
||||
for (n = len & 7; n; --n)
|
||||
h = (uint16_t)(h << 8) ^ (*util_crc16_table)[(h >> 8) ^ *data++];
|
||||
|
|
Loading…
Reference in a new issue