From 4b56dee0873d57ed2a0891a4a2370d20d46845c3 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 18 Feb 2024 07:06:15 +0000 Subject: code base: set the visilbity of internal library interfaces to hidden. --- src/internal/slibtool_visibility_impl.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/internal/slibtool_visibility_impl.h (limited to 'src/internal/slibtool_visibility_impl.h') diff --git a/src/internal/slibtool_visibility_impl.h b/src/internal/slibtool_visibility_impl.h new file mode 100644 index 0000000..7b1e50f --- /dev/null +++ b/src/internal/slibtool_visibility_impl.h @@ -0,0 +1,10 @@ +#ifndef SLIBTOOL_VISIBILITY_IMPL_H +#define SLIBTOOL_VISIBILITY_IMPL_H + +#ifdef _ATTR_VISIBILITY_HIDDEN +#define slbt_hidden _ATTR_VISIBILITY_HIDDEN +#else +#define slbt_hidden +#endif + +#endif -- cgit v1.2.3