From 0d3df507b4c4fe1dde086cd85a78179c8bcefcf9 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Mon, 29 Sep 2014 14:55:51 -0700 Subject: Support static libraries since clang is retarded --- include/tmwa/shared.hpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/tmwa/shared.hpp b/include/tmwa/shared.hpp index 95174ab..8b6bfbc 100644 --- a/include/tmwa/shared.hpp +++ b/include/tmwa/shared.hpp @@ -22,9 +22,13 @@ // TODO also make sure any exception classes are public -#pragma GCC visibility push(default) +#ifndef __clang__ +# pragma GCC visibility push(default) +#endif namespace tmwa { void check_paths(); } // namespace tmwa -#pragma GCC visibility pop +#ifndef __clang__ +# pragma GCC visibility pop +#endif -- cgit v1.2.3-70-g09d2