projects
/
xonotic
/
gmqcc.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
943cb2c
)
Undefine macros after using them
author
Dale Weiler <killfieldengine@gmail.com>
Sat, 23 Nov 2013 12:47:16 +0000
(07:47 -0500)
committer
Dale Weiler <killfieldengine@gmail.com>
Sat, 23 Nov 2013 12:47:16 +0000
(07:47 -0500)
util.c
patch
|
blob
|
history
diff --git
a/util.c
b/util.c
index 251c9d1e384ebc5075702414192cb4348fba240a..4300d3c3d900b2b9545ee31b5ff86588f0fd7308 100644
(file)
--- 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++];