aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tccrun.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/tccrun.c b/tccrun.c
index c45aeb6..24e1f95 100644
--- a/tccrun.c
+++ b/tccrun.c
@@ -306,11 +306,7 @@ static uplong rt_printline(uplong wanted_pc)
sym < sym_end;
sym++) {
type = ELFW(ST_TYPE)(sym->st_info);
- if (type == STT_FUNC
-#ifdef STT_GNU_IFUNC
- || type == STT_GNU_IFUNC
-#endif
- ) {
+ if (type == STT_FUNC || type == STT_GNU_IFUNC) {
if (wanted_pc >= sym->st_value &&
wanted_pc < sym->st_value + sym->st_size) {
pstrcpy(last_func_name, sizeof(last_func_name),