Skip to content

Commit

Permalink
fix symbol export (OSX, win)
Browse files Browse the repository at this point in the history
  • Loading branch information
x42 committed Jul 2, 2015
1 parent 1a83ebc commit 845cd7a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nodelay.c
Expand Up @@ -165,6 +165,12 @@ static const LV2_Descriptor descriptor = {
extension_data
};

#undef LV2_SYMBOL_EXPORT
#ifdef _WIN32
# define LV2_SYMBOL_EXPORT __declspec(dllexport)
#else
# define LV2_SYMBOL_EXPORT __attribute__ ((visibility ("default")))
#endif
LV2_SYMBOL_EXPORT
const LV2_Descriptor*
lv2_descriptor(uint32_t index)
Expand Down

0 comments on commit 845cd7a

Please sign in to comment.