Commit 378638be authored by Lubomir Bulej's avatar Lubomir Bulej

Use the externally_visible attribute only when available.

parent 3652fab6
......@@ -21,7 +21,7 @@
*/
#define PACKED __attribute__ ((__packed__))
#ifdef WHOLE
#if defined(WHOLE) && __has_attribute(externally_visible)
#define VISIBLE __attribute__ ((externally_visible))
#else
#define VISIBLE
......
......@@ -1756,7 +1756,7 @@ void JNICALL jvmti_callback_thread_end_hook(
// ******************* JVMTI entry method *******************
#ifdef WHOLE
#if defined(WHOLE) && __has_attribute(externally_visible)
#define VISIBLE __attribute__((externally_visible))
#else
#define VISIBLE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment