Merge pull request #464 from mwoehlke-kitware/elf-visibility

ELF visibility
This commit is contained in:
Lee Thomason
2016-08-11 07:32:50 -07:00
committed by GitHub
2 changed files with 5 additions and 0 deletions

View File

@@ -72,6 +72,8 @@ distribution.
# else
# define TINYXML2_LIB
# endif
#elif __GNUC__ >= 4
# define TINYXML2_LIB __attribute__((visibility("default")))
#else
# define TINYXML2_LIB
#endif