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

@@ -35,7 +35,9 @@ extern "C" {
#undef RB_EXTERN
#ifdef _MSC_VER
#ifndef RUBBERBAND_STATIC
#define RB_EXTERN extern __declspec(dllexport)
#endif
#else
#define RB_EXTERN extern
#endif