mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-06 04:52:16 +00:00
1cc9d13ccf
Files moved but not modified. Changes to follow in a subsequent commit. You down with CPP? git-svn-id: https://svn.eduke32.com/eduke32@6055 1a8010ca-5511-0410-912e-c29ae57300e0
25 lines
366 B
C
25 lines
366 B
C
#ifndef crc32_h_
|
|
#define crc32_h_
|
|
|
|
#include "compat.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#define POLY 0xEDB88320
|
|
|
|
#ifdef BITNESS64
|
|
extern uint32_t crc32table[8][256];
|
|
#else
|
|
extern uint32_t crc32table[4][256];
|
|
#endif
|
|
|
|
extern uint32_t Bcrc32(const void* data, size_t length, uint32_t crc);
|
|
extern void initcrc32table(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|