mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
addr2line: DragonFlyBSD build update.
same code path as FreeBSD's.
This commit is contained in:
parent
9b188ac238
commit
3ffca65047
Notes:
git
2021-08-31 20:53:08 +09:00
1 changed files with 2 additions and 2 deletions
|
@ -2187,7 +2187,7 @@ fail:
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define HAVE_MAIN_EXE_PATH
|
#define HAVE_MAIN_EXE_PATH
|
||||||
#if defined(__FreeBSD__)
|
#if defined(__FreeBSD__) || defined(__DragonFly__)
|
||||||
# include <sys/sysctl.h>
|
# include <sys/sysctl.h>
|
||||||
#endif
|
#endif
|
||||||
/* ssize_t main_exe_path(void)
|
/* ssize_t main_exe_path(void)
|
||||||
|
@ -2210,7 +2210,7 @@ main_exe_path(void)
|
||||||
binary_filename[len] = 0;
|
binary_filename[len] = 0;
|
||||||
return len;
|
return len;
|
||||||
}
|
}
|
||||||
#elif defined(__FreeBSD__)
|
#elif defined(__FreeBSD__) || defined(__DragonFly__)
|
||||||
static ssize_t
|
static ssize_t
|
||||||
main_exe_path(void)
|
main_exe_path(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue