diff --git a/common/jack/weakmacros.h b/common/jack/weakmacros.h index a65d1544..d5818b34 100644 --- a/common/jack/weakmacros.h +++ b/common/jack/weakmacros.h @@ -42,7 +42,12 @@ */ #define JACK_WEAK_EXPORT __attribute__((weak)) #else -/* Add other things here for non-gcc platforms */ +/* Add other things here for non-gcc platforms */ + +#ifdef WIN32 +#define JACK_WEAK_EXPORT +#endif + #endif #endif @@ -54,7 +59,12 @@ #ifdef __GNUC__ #define JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT __attribute__((__deprecated__)) #else -/* Add other things here for non-gcc platforms */ +/* Add other things here for non-gcc platforms */ + +#ifdef WIN32 +#define JACK_OPTIONAL_WEAK_DEPRECATED_EXPORT +#endif + #endif /* __GNUC__ */ #endif