BeBuild: set default visibility for _EXPORT
This is required for building shared libraries with hidden by default symbol visiblility such as mesa. Change-Id: I7150629aaea61d7c9b6e641d32913c5cc7c96543 Reviewed-on: https://review.haiku-os.org/c/haiku/+/2159 Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
@@ -78,7 +78,11 @@
|
||||
#define _PACKED __attribute__((packed))
|
||||
#define _PRINTFLIKE(_format_, _args_) \
|
||||
__attribute__((format(__printf__, _format_, _args_)))
|
||||
#define _EXPORT
|
||||
#if __GNUC__ >= 4
|
||||
# define _EXPORT __attribute__((visibility("default")))
|
||||
#else
|
||||
# define _EXPORT
|
||||
#endif
|
||||
#define _IMPORT
|
||||
|
||||
#define B_DEFINE_SYMBOL_VERSION(function, versionedSymbol) \
|
||||
|
||||
Reference in New Issue
Block a user