Fix static linking builds

This commit is contained in:
twinaphex
2014-04-18 19:51:45 +02:00
parent fb3078b01c
commit b056c073bf
2 changed files with 16 additions and 1 deletions

View File

@@ -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