headers: Fix B_CURRENT_IMAGE_SYMBOL for GCC2.
Apparently GCC2 does not like &__func__, so just drop the &. Fixes #17253.
This commit is contained in:
@@ -73,7 +73,7 @@ void terminate_after(image_id self);
|
||||
#define B_APP_IMAGE_SYMBOL ((void*)(addr_t)0)
|
||||
/* value that can be used instead of a pointer to a symbol in the program
|
||||
image. */
|
||||
#define B_CURRENT_IMAGE_SYMBOL ((void*)&__func__)
|
||||
#define B_CURRENT_IMAGE_SYMBOL ((void*)__func__)
|
||||
/* pointer to a symbol in the callers image */
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user