Support building espeak-ng.exe with Visual C++.

This commit is contained in:
Reece H. Dunn
2016-01-09 13:32:16 +00:00
parent 5ebd28e4bc
commit 11101806ce
13 changed files with 238 additions and 20 deletions
+5 -1
View File
@@ -26,9 +26,13 @@ extern "C"
{
#endif
#ifdef __WIN32__
#if defined(_WIN32) || defined(_WIN64)
#ifdef LIBESPEAK_NG_EXPORT
#define ESPEAK_NG_API __declspec(dllexport)
#else
#define ESPEAK_NG_API __declspec(dllimport)
#endif
#else
#define ESPEAK_NG_API
#endif
+5 -1
View File
@@ -28,9 +28,13 @@
#include <stdio.h>
#include <stddef.h>
#ifdef __WIN32__
#if defined(_WIN32) || defined(_WIN64)
#ifdef LIBESPEAK_NG_EXPORT
#define ESPEAK_API __declspec(dllexport)
#else
#define ESPEAK_API __declspec(dllimport)
#endif
#else
#define ESPEAK_API
#endif