]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - util.c
Undefine macros after using them
[xonotic/gmqcc.git] / util.c
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++];