Merge branch 'fix-build-with-gcc15' of https://github.com/keszybz/calibre

This commit is contained in:
Kovid Goyal 2025-01-19 07:41:26 +05:30
commit ade24f832a
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -21,7 +21,9 @@
#define STRFY2(x) STRFY(x)
#define CORRUPT PyErr_SetString(PyExc_ValueError, "Corrupt bitstream at line: " STRFY2(__LINE__))
#if __STDC_VERSION__ < 202311L
typedef uint8_t bool;
#endif
typedef struct Table {
uint16_t p;