diff --git a/rubberband/RubberBandStretcher.h b/rubberband/RubberBandStretcher.h index 79234f4f..b456c1b5 100644 --- 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 index 39674824..3e700a6b 100644 --- a/rubberband/rubberband-c.h +++ b/rubberband/rubberband-c.h @@ -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