Skip to content
Snippets Groups Projects
Commit ae151f8f authored by Christopher Stawarz's avatar Christopher Stawarz
Browse files

Ensure that plugin entry points are always exported on macOS and Linux...

Ensure that plugin entry points are always exported on macOS and Linux (otherwise, plugins won't load in macOS release builds)
parent 580e6651
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <Windows.h>
#define EXPORT __declspec(dllexport)
#else
#define EXPORT
#define EXPORT __attribute__((visibility("default")))
#endif
using namespace Plugin;
......
......@@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <Windows.h>
#define EXPORT __declspec(dllexport)
#else
#define EXPORT
#define EXPORT __attribute__((visibility("default")))
#endif
using namespace Plugin;
......
......@@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <Windows.h>
#define EXPORT __declspec(dllexport)
#else
#define EXPORT
#define EXPORT __attribute__((visibility("default")))
#endif
using namespace Plugin;
......
......@@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <Windows.h>
#define EXPORT __declspec(dllexport)
#else
#define EXPORT
#define EXPORT __attribute__((visibility("default")))
#endif
using namespace Plugin;
......
......@@ -28,7 +28,7 @@
#include <Windows.h>
#define EXPORT __declspec(dllexport)
#else
#define EXPORT
#define EXPORT __attribute__((visibility("default")))
#endif
using namespace Plugin;
......
......@@ -527,6 +527,7 @@ void OriginalRecording::writeContinuousBuffer(const float* data, int nSamples, i
//std::cout << channel << " : " << nSamples << " : " << count << std::endl;
jassert(count == nSamples); // make sure all the data was written
(void)count; // Suppress unused variable warning in release builds
diskWriteLock.exit();
......@@ -719,4 +720,4 @@ RecordEngineManager* OriginalRecording::getEngineManager()
param = new EngineParameter(EngineParameter::STR, 2, "Renamed files prefix", "CH");
man->addParameter(param);
return man;
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment