|
Revision 1675, 405 bytes
(checked in by jan, 19 months ago)
|
|
another attempt to get the IMPORT/EXPORT stuff right (patch from jtiai)
|
-
Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 | #ifndef __crc32cr_table_h__ |
|---|
| 2 | #define __crc32cr_table_h__ |
|---|
| 3 | |
|---|
| 4 | #ifdef HAVE_CONFIG_H |
|---|
| 5 | #include "config.h" |
|---|
| 6 | #endif |
|---|
| 7 | |
|---|
| 8 | #include <sys/types.h> |
|---|
| 9 | #include <stdlib.h> |
|---|
| 10 | |
|---|
| 11 | #if defined HAVE_STDINT_H |
|---|
| 12 | #include <stdint.h> |
|---|
| 13 | #elif defined HAVE_INTTYPES_H |
|---|
| 14 | #include <inttypes.h> |
|---|
| 15 | #endif |
|---|
| 16 | |
|---|
| 17 | #ifdef _WIN32 |
|---|
| 18 | #define uint32_t unsigned __int32 |
|---|
| 19 | #endif |
|---|
| 20 | |
|---|
| 21 | #include "settings.h" |
|---|
| 22 | |
|---|
| 23 | LI_API uint32_t generate_crc32c(char *string, size_t length); |
|---|
| 24 | |
|---|
| 25 | #endif |
|---|