Skip to content

Commit

Permalink
Fix building against GCC 10
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
SoapGentoo committed Feb 26, 2020
1 parent 3a2b0c0 commit 2a1ae7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rle.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ extern "C" {
*** 43+3 codec ***
******************/

const uint8_t rle_auxtab[8];
extern const uint8_t rle_auxtab[8];

#define RLE_MIN_SPACE 18
#define rle_nptr(block) ((uint16_t*)(block))
Expand Down

0 comments on commit 2a1ae7b

Please sign in to comment.