# HG changeset patch # User Chris Cannam # Date 1707313710 0 # Wed Feb 07 13:48:30 2024 +0000 # Node ID 2a033a93fbdcd542b3abd1293cbee0b44b84fa45 # Parent ba1c946d80392bbb0f4c73980eb01dc19742976d Fix export symbol definitions diff --git a/rubberband/RubberBandStretcher.h b/rubberband/RubberBandStretcher.h --- a/rubberband/RubberBandStretcher.h +++ b/rubberband/RubberBandStretcher.h @@ -32,6 +32,8 @@ #ifdef _MSC_VER #ifndef RUBBERBAND_STATIC #define RUBBERBAND_DLLEXPORT __declspec(dllexport) +#else +#define RUBBERBAND_DLLEXPORT #endif #else #define RUBBERBAND_DLLEXPORT diff --git a/rubberband/rubberband-c.h b/rubberband/rubberband-c.h --- a/rubberband/rubberband-c.h +++ b/rubberband/rubberband-c.h @@ -37,6 +37,8 @@ #ifdef _MSC_VER #ifndef RUBBERBAND_STATIC #define RB_EXTERN extern __declspec(dllexport) +#else +#define RB_EXTERN extern #endif #else #define RB_EXTERN extern