Fix building on Windows.

This commit is contained in:
Reece H. Dunn
2018-03-12 12:26:57 +00:00
parent 9fdccb7bc3
commit 99bbc6294e
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ extern "C"
{
#endif
void strncpy0(char *to, const char *from, int size);
extern ESPEAK_NG_API void strncpy0(char *to, const char *from, int size);
int LoadDictionary(Translator *tr, const char *name, int no_error);
int HashDictionary(const char *string);
const char *EncodePhonemes(const char *p, char *outptr, int *bad_phoneme);
+1 -2
View File
@@ -70,8 +70,7 @@ void cancel_audio(void);
extern char path_home[N_PATH_HOME]; // this is the espeak-ng-data directory
extern ESPEAK_NG_API void strncpy0(char *to, const char *from, int size);
extern ESPEAK_NG_API int GetFileLength(const char *filename);
extern ESPEAK_NG_API int GetFileLength(const char *filename);
#ifdef __cplusplus
}