From bbb570d2b1e34eca4a4bf74826784e19ab60f4bc Mon Sep 17 00:00:00 2001 From: Daniel Adam Date: Fri, 11 Feb 2022 18:38:39 +0100 Subject: [PATCH] fixup! Test shared library on Windows --- include/oc_export.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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__ */