Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit a701886

Browse files
Dirty hack to get Win32 revspeech working again
1 parent 46567c6 commit a701886

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

revspeech/src/revspeech.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ along with LiveCode. If not see <http://www.gnu.org/licenses/>. */
1919
#include <stdio.h>
2020

2121
#include <revolution/external.h>
22+
#include <revolution/support.h>
2223

2324
#include "revspeech.h"
2425

@@ -75,9 +76,14 @@ static bool NarratorUnload(void)
7576

7677
///////////////////////////////////////////////////////////////////////////////
7778

79+
extern "C" void* getXtable();
80+
7881
void revSpeechLoad(char *args[], int nargs, char **retstring,
7982
Bool *pass, Bool *error)
8083
{
84+
// Force a reference to the getXtable function
85+
(void)getXtable();
86+
8187
*pass = False;
8288
*error = False;
8389
char *result = NULL;

0 commit comments

Comments
 (0)