Skip to content

Commit

Permalink
Fix export symbol definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
cannam committed Feb 7, 2024
1 parent f0d702e commit 5a4e3a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rubberband/RubberBandStretcher.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
#ifdef _MSC_VER
#ifndef RUBBERBAND_STATIC
#define RUBBERBAND_DLLEXPORT __declspec(dllexport)
#else
#define RUBBERBAND_DLLEXPORT
#endif
#else
#define RUBBERBAND_DLLEXPORT
Expand Down
2 changes: 2 additions & 0 deletions rubberband/rubberband-c.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5a4e3a8

Please sign in to comment.