mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-capture: Replace G_GNUC_INTERNAL with SYSPROF_INTERNAL
It does the same thing for modern compilers. Signed-off-by: Philip Withnall <withnall@endlessm.com> Helps: #40
This commit is contained in:
@ -66,3 +66,9 @@
|
||||
#define SYSPROF_BEGIN_DECLS
|
||||
#define SYSPROF_END_DECLS
|
||||
#endif
|
||||
|
||||
#if defined (__GNUC__)
|
||||
#define SYSPROF_INTERNAL __attribute__((visibility("hidden")))
|
||||
#else
|
||||
#define SYSPROF_INTERNAL
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user