Skip to content

Commit

Permalink
Make dllexport suppressible
Browse files Browse the repository at this point in the history
  • Loading branch information
cannam committed Jan 5, 2024
1 parent 9027f86 commit 95cbb62
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 @@ -30,7 +30,9 @@

#undef RUBBERBAND_DLLEXPORT
#ifdef _MSC_VER
#ifndef RUBBERBAND_STATIC
#define RUBBERBAND_DLLEXPORT __declspec(dllexport)
#endif
#else
#define RUBBERBAND_DLLEXPORT
#endif
Expand Down
2 changes: 2 additions & 0 deletions rubberband/rubberband-c.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ extern "C" {

#undef RB_EXTERN
#ifdef _MSC_VER
#ifndef RUBBERBAND_STATIC
#define RB_EXTERN extern __declspec(dllexport)
#endif
#else
#define RB_EXTERN extern
#endif
Expand Down

0 comments on commit 95cbb62

Please sign in to comment.