diff options
Diffstat (limited to 'lang/spl/files/patch-spl.h')
-rw-r--r-- | lang/spl/files/patch-spl.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/lang/spl/files/patch-spl.h b/lang/spl/files/patch-spl.h new file mode 100644 index 000000000000..1ca7fc3b568d --- /dev/null +++ b/lang/spl/files/patch-spl.h @@ -0,0 +1,26 @@ +--- spl.h.orig 2021-07-20 09:35:24 UTC ++++ spl.h +@@ -43,13 +43,17 @@ typedef struct { + + /* global variables */ + +-CHARACTER **cast; +-CHARACTER *first_person; +-CHARACTER *second_person; ++#ifndef GLOBAL ++# define GLOBAL extern ++#endif + +-int truth_flag; +-int num_on_stage; +-int num_cast; ++GLOBAL CHARACTER **cast; ++GLOBAL CHARACTER *first_person; ++GLOBAL CHARACTER *second_person; ++ ++GLOBAL int truth_flag; ++GLOBAL int num_on_stage; ++GLOBAL int num_cast; + + /* function prototypes */ + extern void activate_character(int line, CHARACTER *character); |