diff options
Diffstat (limited to 'include/u.h')
-rw-r--r-- | include/u.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/u.h b/include/u.h index 9ee7493b4..44bfcd63b 100644 --- a/include/u.h +++ b/include/u.h @@ -194,6 +194,8 @@ typedef u64int uint64; #undef _NEEDUINT #undef _NEEDULONG +#define getcallerpc(x) __builtin_return_address(0) + #ifndef SIGBUS #define SIGBUS SIGSEGV /* close enough */ #endif |