diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2007-07-05 18:01:41 +0200 |
---|---|---|
committer | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-07-05 18:01:41 +0200 |
commit | cefbaa04d84851721b4f813f5161abe636a89419 (patch) | |
tree | 07351d4492052b298d4a2f915eebc150ca99378e /lib_generic | |
parent | 437dcca15447bff87580fc58753a19bb41782046 (diff) | |
download | barebox-cefbaa04d84851721b4f813f5161abe636a89419.tar.gz barebox-cefbaa04d84851721b4f813f5161abe636a89419.tar.xz |
svn_rev_304
Diffstat (limited to 'lib_generic')
-rw-r--r-- | lib_generic/crc32.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib_generic/crc32.c b/lib_generic/crc32.c index 3826c76339..df41009112 100644 --- a/lib_generic/crc32.c +++ b/lib_generic/crc32.c @@ -18,7 +18,7 @@ #define ZEXPORT /* empty */ unsigned long crc32 (unsigned long, const unsigned char *, unsigned int); -#ifdef DYNAMIC_CRC_TABLE +#ifdef CONFIG_DYNAMIC_CRC_TABLE local int crc_table_empty = 1; local uLongf crc_table[256]; @@ -143,7 +143,7 @@ uLong ZEXPORT crc32(crc, buf, len) const Bytef *buf; uInt len; { -#ifdef DYNAMIC_CRC_TABLE +#ifdef CONFIG_DYNAMIC_CRC_TABLE if (crc_table_empty) make_crc_table(); #endif @@ -167,7 +167,7 @@ uLong ZEXPORT crc32(crc, buf, len) */ uLong ZEXPORT crc32_no_comp(uLong crc, const Bytef *buf, uInt len) { -#ifdef DYNAMIC_CRC_TABLE +#ifdef CONFIG_DYNAMIC_CRC_TABLE if (crc_table_empty) make_crc_table(); #endif |