mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
once NetBSD was presented, return its version
* defined by __NetBSD_Version__ on <sys/param.h> too.
This commit is contained in:
@@ -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) */
|
||||
|
||||
Reference in New Issue
Block a user