1
0
Fork 0
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:
David CARLIER 2021-03-22 18:58:33 +00:00 committed by Hiroshi SHIBATA
parent 9b188ac238
commit 3ffca65047
Notes: git 2021-08-31 20:53:08 +09:00

View file

@ -2187,7 +2187,7 @@ fail:
#endif
#define HAVE_MAIN_EXE_PATH
#if defined(__FreeBSD__)
#if defined(__FreeBSD__) || defined(__DragonFly__)
# include <sys/sysctl.h>
#endif
/* ssize_t main_exe_path(void)
@ -2210,7 +2210,7 @@ main_exe_path(void)
binary_filename[len] = 0;
return len;
}
#elif defined(__FreeBSD__)
#elif defined(__FreeBSD__) || defined(__DragonFly__)
static ssize_t
main_exe_path(void)
{