Bug 1092151 - Don't use dllimport/dllexport in non-shared gkmedias builds in libsoundtouch. r=padenot

This commit is contained in:
Jacek Caban 2014-11-05 11:27:01 +01:00
parent 4358a27d3c
commit 0c72a8d968
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ diff -u /src/STTypes.h /src/STTypes.h
-#endif
+#include "soundtouch_config.h"
+#ifdef WIN32
+#if defined(WIN32) && defined(GKMEDIAS_SHARED_LIBRARY)
+#ifdef BUILDING_SOUNDTOUCH
+#define EXPORT __declspec(dllexport)
+#else

View File

@ -56,7 +56,7 @@ typedef unsigned long ulong;
#include "soundtouch_config.h"
#ifdef WIN32
#if defined(WIN32) && defined(GKMEDIAS_SHARED_LIBRARY)
#ifdef BUILDING_SOUNDTOUCH
#define EXPORT __declspec(dllexport)
#else