Make dllexport suppressible

This commit is contained in:
Chris Cannam
2024-01-05 15:38:06 +00:00
parent 9027f86022
commit 95cbb62dfe
2 changed files with 4 additions and 0 deletions

View File

@@ -30,7 +30,9 @@
#undef RUBBERBAND_DLLEXPORT
#ifdef _MSC_VER
#ifndef RUBBERBAND_STATIC
#define RUBBERBAND_DLLEXPORT __declspec(dllexport)
#endif
#else
#define RUBBERBAND_DLLEXPORT
#endif