Skip to content

Commit 5a4e3a8

Browse files
committed
Fix export symbol definitions
1 parent f0d702e commit 5a4e3a8

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

rubberband/RubberBandStretcher.h

+2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
#ifdef _MSC_VER
3333
#ifndef RUBBERBAND_STATIC
3434
#define RUBBERBAND_DLLEXPORT __declspec(dllexport)
35+
#else
36+
#define RUBBERBAND_DLLEXPORT
3537
#endif
3638
#else
3739
#define RUBBERBAND_DLLEXPORT

rubberband/rubberband-c.h

+2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ extern "C" {
3737
#ifdef _MSC_VER
3838
#ifndef RUBBERBAND_STATIC
3939
#define RB_EXTERN extern __declspec(dllexport)
40+
#else
41+
#define RB_EXTERN extern
4042
#endif
4143
#else
4244
#define RB_EXTERN extern

0 commit comments

Comments
 (0)