From 4e7e54c4c522ab2f6a7abb92cefc4f707e9568fb Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Sun, 6 Jan 2008 16:27:41 +0200 Subject: Introduced compatibility with systems that have pre-C99 or no inttypes.h. This is useful when the compiler has good enough support for C99, but libc headers don't. Changed liblzma API so that sys/types.h and inttypes.h have to be #included before #including lzma.h. On systems that don't have C99 inttypes.h, it's the problem of the applications to provide the required types and macros before #including lzma.h. If lzma.h defined the missing types and macros, it could conflict with third-party applications whose configure has detected that the types are missing and defined them in config.h already. An alternative would have been introducing lzma_uint32 and similar types, but that would just be an extra pain on modern systems. --- src/liblzma/check/crc64_table_be.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/liblzma/check/crc64_table_be.h') diff --git a/src/liblzma/check/crc64_table_be.h b/src/liblzma/check/crc64_table_be.h index 99518400..2d2794fe 100644 --- a/src/liblzma/check/crc64_table_be.h +++ b/src/liblzma/check/crc64_table_be.h @@ -1,7 +1,5 @@ /* This file has been automatically generated by crc64_tablegen.c. */ -#include - const uint64_t lzma_crc64_table[4][256] = { { UINT64_C(0x0000000000000000), UINT64_C(0x6F5FA703BE4C2EB3), -- cgit v1.2.3