summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-02-02 12:17:03 -0500
committermidipix <writeonce@midipix.org>2019-02-02 12:26:47 -0500
commitf009086ba30eb17c56b5c374e64e554870b961fe (patch)
tree73e923bea113e6b5602750e71e74463405aafccb /include
parent9efaa255a7fad33d56a3b1eee969b1ab3a4261e0 (diff)
downloadpemagine-f009086ba30eb17c56b5c374e64e554870b961fe.tar.bz2
pemagine-f009086ba30eb17c56b5c374e64e554870b961fe.tar.xz
project: apply protected visibility to both the static and dynamic builds.
Diffstat (limited to 'include')
-rw-r--r--include/pemagine/pe_api.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/pemagine/pe_api.h b/include/pemagine/pe_api.h
index f7f9346..f43e8e1 100644
--- a/include/pemagine/pe_api.h
+++ b/include/pemagine/pe_api.h
@@ -24,21 +24,21 @@
#endif
/* hidden visibility */
-#if defined(__attr_hidden__)
-#define pe_hidden __attr_hidden__
+#if defined(__attr_protected__)
+#define pe_protected __attr_protected__
#else
-#define pe_hidden
+#define pe_protected
#endif
/* pe_api */
#if defined (PE_LDSO)
-#define pe_api pe_hidden
+#define pe_api pe_protected
#elif defined (PE_EXPORT)
#define pe_api pe_export
#elif defined (PE_IMPORT)
#define pe_api pe_import
#elif defined (PE_STATIC)
-#define pe_api pe_hidden
+#define pe_api pe_protected
#else
#define pe_api
#endif