import GCC10 fix by afontain
authorAntoine Fontaine <antoine.fontaine@epfl.ch>
Tue, 27 Apr 2021 19:14:13 +0000 (21:14 +0200)
committerThomas Debesse <dev@illwieckz.net>
Tue, 27 Apr 2021 19:14:13 +0000 (21:14 +0200)
See: https://gitlab.com/xonotic/netradiant/-/issues/129#note_544674397

libs/picomodel/picointernal.h

index 312cc64324ca7d99a08adb23ffb36eec22794759..1ec806ad6190255cef2667270101003e01f46316 100644 (file)
@@ -77,7 +77,7 @@ extern "C"
 #define PICO_IOEOF  1
 #define PICO_IOERR  2
 
-const picoColor_t picoColor_white;
+extern const picoColor_t picoColor_white;
 
 /* types */
 typedef struct picoParser_s