From 228587c7cbc7021a5fe700111d63aba63a0a70d8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 2 Jan 2021 13:21:54 +0100 Subject: Use SUIL_STATIC instead of SUIL_SHARED to control visibility For consistency, this seems to be the most common convention. --- include/suil/suil.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/suil/suil.h b/include/suil/suil.h index f838512..a281c9d 100644 --- a/include/suil/suil.h +++ b/include/suil/suil.h @@ -34,7 +34,7 @@ # define SUIL_LIB_EXPORT __attribute__((visibility("default"))) #endif -#ifdef SUIL_SHARED +#ifndef SUIL_STATIC # ifdef SUIL_INTERNAL # define SUIL_API SUIL_LIB_EXPORT # else -- cgit v1.2.1