emulators/zsnes: Fix build with -fno-common

Fix the build of emulators/zsnes when built with -fno-common, which is the
default with llvm 11.

MFH:		2020Q3 (implicit, -fno-common fixes, ok by joenum)
This commit is contained in:
Niclas Zeising 2020-08-28 17:39:55 +00:00
parent 0ff2ccd87d
commit 7d54ea6a01
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=546767

View File

@ -0,0 +1,11 @@
--- initc.c.orig 2020-08-28 17:31:26 UTC
+++ initc.c
@@ -1495,7 +1495,7 @@ Would be nice to trash this section in the future
extern unsigned char ENVDisable, cycpb268, cycpb358, cycpbl2, cycpblt2, cycpbl;
extern unsigned char cycpblt, opexec268, opexec358, opexec268b, opexec358b;
extern unsigned char opexec268cph, opexec358cph, opexec268cphb, opexec358cphb;
-bool HacksDisable;
+extern bool HacksDisable;
void headerhack()
{