diff options
author | Stefan Eßer <se@FreeBSD.org> | 2020-09-22 18:38:06 +0000 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 2020-09-22 18:38:06 +0000 |
commit | a8b4a281c42c022147a984fa7aaf77ad149278c7 (patch) | |
tree | e405a6a742aba68094c2dcca2febfb6b21978a51 /emulators/gngb/files/patch-src_interrupt.h | |
parent | chinese/zh-librime: Update to 1.6.1 (diff) |
Fix build with -fno-common
Diffstat (limited to 'emulators/gngb/files/patch-src_interrupt.h')
-rw-r--r-- | emulators/gngb/files/patch-src_interrupt.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/emulators/gngb/files/patch-src_interrupt.h b/emulators/gngb/files/patch-src_interrupt.h new file mode 100644 index 000000000000..c27a075307c1 --- /dev/null +++ b/emulators/gngb/files/patch-src_interrupt.h @@ -0,0 +1,23 @@ +--- src/interrupt.h.orig 2003-05-09 05:25:27 UTC ++++ src/interrupt.h +@@ -68,9 +68,9 @@ typedef struct { + Uint8 *vram_pal_line[160]; + }GBLCDC; + +-GBLCDC *gblcdc; ++extern GBLCDC *gblcdc; + +-Uint8 vram_pal_line_temp[160][4]; ++extern Uint8 vram_pal_line_temp[160][4]; + extern Uint8 vram_init_pal; + + #define gb_set_pal_bck(v) { \ +@@ -98,7 +98,7 @@ typedef struct { + Sint32 cycle; + }GBTIMER; + +-GBTIMER *gbtimer; ++extern GBTIMER *gbtimer; + + void gblcdc_init(void); + void gblcdc_reset(void); |