diff options
| author | JP Cimalando <jpcima@users.noreply.github.com> | 2018-08-09 12:49:45 +0200 |
|---|---|---|
| committer | JP Cimalando <jpcima@users.noreply.github.com> | 2018-08-09 12:49:45 +0200 |
| commit | 7c363fe1f7958a7e55b4c5d7dbddfd0e34ae7ead (patch) | |
| tree | 1c9cef5d9a48abec550bc23cb914790a097d8fe3 /rtaudio_c.h | |
| parent | 1abbca05a6f76b8bf815be931102314a042f1aa0 (diff) | |
fix the link step on Windows
Diffstat (limited to 'rtaudio_c.h')
| -rw-r--r-- | rtaudio_c.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rtaudio_c.h b/rtaudio_c.h index 550f480..e4cdf82 100644 --- a/rtaudio_c.h +++ b/rtaudio_c.h @@ -2,7 +2,7 @@ #define RTAUDIO_C_H #if defined(RTAUDIO_EXPORT) -#ifdef WIN32 +#if defined _WIN32 || defined __CYGWIN__ #define RTAUDIOAPI __declspec(dllexport) #else #define RTAUDIOAPI __attribute__((visibility("default"))) |
