summaryrefslogtreecommitdiff
path: root/addr2line.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2024-02-08 11:15:41 +0900
committerNobuyoshi Nakada <[email protected]>2024-02-08 12:06:07 +0900
commitce6054a667029af3edc32cfd2e0e7c281cfdf332 ()
tree350d4722daf77f5967513562585a7272c2cf96df /addr2line.c
parent9f1afefaa8cf84e083bb1c281050f05c26e54bc1 (diff)
Move an embedded directive outside macro arguments
Suppress warnings/errors by -Wembedded-directive with `-std=c99` on macOS.
-rw-r--r--addr2line.c7
1 files changed, 4 insertions, 3 deletions
@@ -2384,13 +2384,14 @@ fill_lines(int num_traces, void **traces, int check_debuglink,
goto fail;
}
else {
- kprintf("'%s' is not a "
# ifdef __LP64__
- "64"
# else
- "32"
# endif
"-bit Mach-O file!\n",binary_filename);
close(fd);
goto fail;
}