mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 07:07:52 +01:00
once NetBSD was presented, return its version
* defined by __NetBSD_Version__ on <sys/param.h> too.
This commit is contained in:
parent
8a879395ab
commit
2077b880d8
1 changed files with 3 additions and 0 deletions
|
@ -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) */
|
||||
|
|
Loading…
Add table
Reference in a new issue