mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
make tor_libc_get_name aware of NetBSD
* __NETBSD_SOURCE was used here to verify if we are running on NetBSD
This commit is contained in:
@@ -31,9 +31,9 @@
|
||||
const char *
|
||||
tor_libc_get_name(void)
|
||||
{
|
||||
#ifdef __BSD_VISIBLE
|
||||
#ifdef __BSD_VISIBLE || __NETBSD_SOURCE
|
||||
return "BSD";
|
||||
#endif /* defined(__BSD_VISIBLE) */
|
||||
#endif /* defined(__BSD_VISIBLE) || defined(__NETBSD_SOURCE) */
|
||||
#ifdef __GLIBC__
|
||||
return "Glibc";
|
||||
#else /* !defined(__GLIBC__) */
|
||||
|
||||
Reference in New Issue
Block a user