Skip to content

Commit

Permalink
__declspec(dllexport) on WIN32 only when it's MUSIALIZER_HOTRELOAD
Browse files Browse the repository at this point in the history
  • Loading branch information
rexim committed Jun 9, 2024
1 parent 4b2b84e commit a602420
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/plug.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
LIST_OF_PLUGS
#undef PLUG

#ifdef _WIN32
#define MUSIALIZER_PLUG __declspec(dllexport)
#if defined(_WIN32) && defined(MUSIALIZER_HOTRELOAD)
#define MUSIALIZER_PLUG __declspec(dllexport)
#else
#define MUSIALIZER_PLUG
#define MUSIALIZER_PLUG
#endif

#ifndef MUSIALIZER_UNBUNDLE
Expand Down

0 comments on commit a602420

Please sign in to comment.