- Put back the "--enable-visibility-support" flag into configure.

Now the visibility support is also disabled by default.


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1198 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
tchernobog 2006-09-16 16:21:22 +00:00
parent 4472ae0183
commit 961bcf6dc6
3 changed files with 23 additions and 2 deletions

View file

@ -1,7 +1,12 @@
#ifndef VISIBILITY_SUPPORT_HH
#define VISIBILITY_SUPPORT_HH 1
// -----------------------------------------------------------
// Visibility macros for GNU GCC
#if defined __GNUC__ && (__GNUC__) >= 4
#if defined __GNUC__ && (__GNUC__) >= 4 && (not defined DISABLE_VISIBILITY_SUPPORT)
/* Attribute for objects to be exported from DSOs */
#define SG_DLLEXPORT __attribute__ ((visibility("default")))
@ -30,3 +35,7 @@
#define SG_DLLPUBLIC /* Unsupported */
#endif
// ------------------------------------------------------------
#endif