aboutsummaryrefslogtreecommitdiff
path: root/include/libc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libc.h')
-rw-r--r--include/libc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libc.h b/include/libc.h
index 7b4c3813..4bb537d6 100644
--- a/include/libc.h
+++ b/include/libc.h
@@ -385,7 +385,7 @@ extern int exitcode(char*);
extern void exits(char*);
extern double p9frexp(double, int*);
extern ulong getcallerpc(void*);
-#if defined(__GNUC__) || defined(__clang__)
+#if defined(__GNUC__) || defined(__clang__) || defined(__IBMC__)
#define getcallerpc(x) ((ulong)__builtin_return_address(0))
#endif
extern char* p9getenv(char*);