This is an automated email from the git hooks/post-receive script.
dgoulet pushed a commit to branch main in repository tor.
commit 2077b880d80bb2853e6e505bc02a8637afac57fe Author: VinÃcius Zavam egypcio@googlemail.com AuthorDate: Sat Nov 5 18:46:09 2022 +0000
once NetBSD was presented, return its version
* defined by __NetBSD_Version__ on <sys/param.h> too. --- src/lib/osinfo/libc.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/src/lib/osinfo/libc.c b/src/lib/osinfo/libc.c index 9206b99611..195bd528ba 100644 --- a/src/lib/osinfo/libc.c +++ b/src/lib/osinfo/libc.c @@ -57,6 +57,9 @@ tor_libc_get_version_str(void) #ifdef __FreeBSD__ return STR(__FreeBSD_version); #endif +#ifdef __NetBSD_Version__ + return STR(__NetBSD_Version__); +#endif #ifdef OpenBSD return STR(OpenBSD); #endif /* defined(__BSD_VISIBLE) */