present __DragonFly_version, from DragonFlyBSD

This commit is contained in:
Vinícius Zavam 2022-11-05 18:58:59 +00:00
parent 2077b880d8
commit 64f8490ede
No known key found for this signature in database
GPG Key ID: 415C653413B43475

View File

@ -54,6 +54,9 @@ tor_libc_get_version_str(void)
#else /* !defined(CHECK_LIBC_VERSION) */
#ifdef __BSD_VISIBLE
#include <sys/param.sh>
#ifdef __DragonFly_version
return STR(__DragonFly_version);
#endif
#ifdef __FreeBSD__
return STR(__FreeBSD_version);
#endif