Skip to content

Commit 2a1ae7b

Browse files
committed
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.
1 parent 3a2b0c0 commit 2a1ae7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rle.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ extern "C" {
3030
*** 43+3 codec ***
3131
******************/
3232

33-
const uint8_t rle_auxtab[8];
33+
extern const uint8_t rle_auxtab[8];
3434

3535
#define RLE_MIN_SPACE 18
3636
#define rle_nptr(block) ((uint16_t*)(block))

0 commit comments

Comments
 (0)