Fix export symbol definitions

This commit is contained in:
Chris Cannam
2024-02-07 13:48:30 +00:00
parent f0d702e15d
commit 5a4e3a8466
2 changed files with 4 additions and 0 deletions

View File

@@ -32,6 +32,8 @@
#ifdef _MSC_VER
#ifndef RUBBERBAND_STATIC
#define RUBBERBAND_DLLEXPORT __declspec(dllexport)
#else
#define RUBBERBAND_DLLEXPORT
#endif
#else
#define RUBBERBAND_DLLEXPORT

View File

@@ -37,6 +37,8 @@ extern "C" {
#ifdef _MSC_VER
#ifndef RUBBERBAND_STATIC
#define RB_EXTERN extern __declspec(dllexport)
#else
#define RB_EXTERN extern
#endif
#else
#define RB_EXTERN extern