mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Move an embedded directive outside macro arguments
Suppress warnings/errors by -Wembedded-directive with `-std=c99` on macOS.
This commit is contained in:
parent
9f1afefaa8
commit
ce6054a667
1 changed files with 4 additions and 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"
|
||||
# define bitsize "64"
|
||||
# else
|
||||
"32"
|
||||
# define bitsize "32"
|
||||
# endif
|
||||
kprintf("'%s' is not a " bitsize
|
||||
"-bit Mach-O file!\n",binary_filename);
|
||||
# undef bitsize
|
||||
close(fd);
|
||||
goto fail;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue