diff --git a/reaction/code/ui/ui_main.c b/reaction/code/ui/ui_main.c index e3ece64e..48547096 100644 --- a/reaction/code/ui/ui_main.c +++ b/reaction/code/ui/ui_main.c @@ -491,7 +491,7 @@ void _UI_KeyEvent(int key, qboolean down); void _UI_MouseEvent(int dx, int dy); void _UI_Refresh(int realtime); qboolean _UI_IsFullscreen(void); -int vmMain(int command, int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, +Q_EXPORT intptr_t vmMain(int command, int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10, int arg11) { switch (command) { diff --git a/reaction/code/ui/ui_syscalls.c b/reaction/code/ui/ui_syscalls.c index 4fc8cfb1..dbae9063 100644 --- a/reaction/code/ui/ui_syscalls.c +++ b/reaction/code/ui/ui_syscalls.c @@ -31,7 +31,7 @@ static int (QDECL * syscall) (int arg, ...) = (int (QDECL *) (int, ...)) -1; -void dllEntry(int (QDECL * syscallptr) (int arg, ...)) +Q_EXPORT void dllEntry(int (QDECL * syscallptr) (int arg, ...)) { syscall = syscallptr; }