Fix static linking builds
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#ifndef _S_CRC32_H
|
||||
#define _S_CRC32_H
|
||||
|
||||
#ifndef HAVE_EXTERNAL_ZLIB
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
@@ -80,6 +82,8 @@ unsigned long crc32(unsigned long crc, const unsigned char *buf, unsigned int le
|
||||
return crc ^ 0xffffffffL;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user