8290218: AIX build failure by JDK-8289780
Reviewed-by: iklam, stuefe
This commit is contained in:
parent
3471ac9a90
commit
5d588eda97
@ -667,7 +667,7 @@ void AsyncGetCallTrace(ASGCT_CallTrace *trace, jint depth, void* ucontext) {
|
||||
// Method to let libcollector know about a dynamically loaded function.
|
||||
// Because it is weakly bound, the calls become NOP's when the library
|
||||
// isn't present.
|
||||
#ifdef __APPLE__
|
||||
#if defined(__APPLE__) || defined(_AIX)
|
||||
// XXXDARWIN: Link errors occur even when __attribute__((weak_import))
|
||||
// is added
|
||||
#define collector_func_load(x0,x1,x2,x3,x4,x5,x6) ((void) 0)
|
||||
@ -684,7 +684,7 @@ void collector_func_load(char* name,
|
||||
#define collector_func_load(x0,x1,x2,x3,x4,x5,x6) \
|
||||
( collector_func_load ? collector_func_load(x0,x1,x2,x3,x4,x5,x6),(void)0 : (void)0 )
|
||||
#define collector_func_load_enabled() (collector_func_load ? true : false)
|
||||
#endif // __APPLE__
|
||||
#endif // __APPLE__ || _AIX
|
||||
#endif // !_WINDOWS
|
||||
|
||||
} // end extern "C"
|
||||
|
Loading…
Reference in New Issue
Block a user