rhubarb-lip-sync/lib/pocketsphinx.patch

22 lines
933 B
Diff

diff --git a/lib/pocketsphinx-5prealpha-2015-08-05/include/pocketsphinx_export.h b/lib/pocketsphinx-5prealpha-2015-08-05/include/pocketsphinx_export.h
index 4e76f62..a82acd6 100644
--- a/lib/pocketsphinx-5prealpha-2015-08-05/include/pocketsphinx_export.h
+++ b/lib/pocketsphinx-5prealpha-2015-08-05/include/pocketsphinx_export.h
@@ -1,15 +1,7 @@
#ifndef __POCKETSPHINX_EXPORT_H__
#define __POCKETSPHINX_EXPORT_H__
-/* Win32/WinCE DLL gunk */
-#if (defined(_WIN32) || defined(_WIN32_WCE)) && !defined(_WIN32_WP) && !defined(__MINGW32__) && !defined(__CYGWIN__) && !defined(__WINSCW__) && !defined(__SYMBIAN32__)
-#ifdef POCKETSPHINX_EXPORTS /* Visual Studio */
-#define POCKETSPHINX_EXPORT __declspec(dllexport)
-#else
-#define POCKETSPHINX_EXPORT __declspec(dllimport)
-#endif
-#else /* !_WIN32 */
+// We're creating a static library. No __declspec!
#define POCKETSPHINX_EXPORT
-#endif
#endif /* __POCKETSPHINX_EXPORT_H__ */