diff --git a/include/oc_export.h b/include/oc_export.h index 0e193ee8c..672dec1c4 100644 --- a/include/oc_export.h +++ b/include/oc_export.h @@ -25,7 +25,7 @@ #define OC_IMPORT #else /* __GNUC__ < 4 */ #warning "Shared libraries not supported" -#define OC_EXPORT __attribute__((visibility("default"))) +#define OC_EXPORT #define OC_IMPORT #endif /* defined _WIN32 || defined __CYGWIN__ || defined __MINGW32__ */