mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
return BSD if tor_libc_get_name sees __BSD_VISIBLE
* __BSD_VISIBLE is defined by systems like FreeBSD and OpenBSD; * that also extends to DragonFlyBSD; * it's used on stdlib.h and ctypes.h on those systems.
This commit is contained in:
parent
863428d753
commit
dba3090a68
@ -31,6 +31,9 @@
|
||||
const char *
|
||||
tor_libc_get_name(void)
|
||||
{
|
||||
#ifdef __BSD_VISIBLE
|
||||
return "BSD";
|
||||
#endif /* defined(__BSD_VISIBLE) */
|
||||
#ifdef __GLIBC__
|
||||
return "Glibc";
|
||||
#else /* !defined(__GLIBC__) */
|
||||
|
Loading…
Reference in New Issue
Block a user