opnsense-ports/emulators/pearpc/files/patch-src-tools-crc32.cc
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
368 B
C++

--- src/tools/crc32.cc.orig 2007-07-15 12:46:37.000000000 +0400
+++ src/tools/crc32.cc 2007-07-15 12:46:51.000000000 +0400
@@ -97,7 +97,7 @@
*/
// With this macro defined, the function runs about 35% faster, but the code is about 3 times bigger :
-#define RUN_FASTER
+//#define RUN_FASTER
#define DO_CRC(b) crc = (crc >> 8) ^ crc32table[(*(byte*)&crc) ^ (b)]