Fix building against GCC 10

* GCC 10 defaults to `-fno-common`, which makes C behave
  more like C++ in that you can only ever have one definition
  of an object per executable.
This commit is contained in:
David Seifert 2020-02-26 13:24:17 +01:00
parent 3a2b0c05dd
commit 2a1ae7b6f3
No known key found for this signature in database
GPG Key ID: CE36E117202E3842
1 changed files with 1 additions and 1 deletions

2
rle.h
View File

@ -30,7 +30,7 @@ extern "C" {
*** 43+3 codec *** *** 43+3 codec ***
******************/ ******************/
const uint8_t rle_auxtab[8]; extern const uint8_t rle_auxtab[8];
#define RLE_MIN_SPACE 18 #define RLE_MIN_SPACE 18
#define rle_nptr(block) ((uint16_t*)(block)) #define rle_nptr(block) ((uint16_t*)(block))