From: Dale Weiler Date: Sat, 23 Nov 2013 12:47:16 +0000 (-0500) Subject: Undefine macros after using them X-Git-Tag: xonotic-v0.8.0~72 X-Git-Url: https://de.git.xonotic.org/?a=commitdiff_plain;h=457a1b96904b21161dfae2c56774764ac392278c;p=xonotic%2Fgmqcc.git Undefine macros after using them --- diff --git a/util.c b/util.c index 251c9d1..4300d3c 100644 --- a/util.c +++ b/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++];