Skip to content

Commit 47b5427

Browse files
committed
FIX: RL defined in host-lib.c file, in all embedded extensions it must be used as extern
1 parent 16a4ea8 commit 47b5427

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/os/win32/host-lib.c

+2
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@
6767
#include "reb-host.h"
6868
#include "host-lib.h"
6969

70+
RL_LIB *RL; // Link back to reb-lib from embedded extensions (like for now: host-window, host-ext-test..)
71+
7072
// Semaphore lock to sync sub-task launch:
7173
static void *Task_Ready;
7274

src/os/win32/host-window.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ static REBOOL Windows8_And_Newer = FALSE;
126126

127127
static u32* window_ext_words;
128128

129-
RL_LIB *RL; // Link back to reb-lib from embedded extensions
129+
extern RL_LIB *RL; // Link back to reb-lib from embedded extensions
130130

131131
//***** Globals *****//
132132

0 commit comments

Comments
 (0)