forked from OSchip/llvm-project
[Sanitizers] Fix inet_aton() and inet_pton() interceptors to work on FreeBSD
Differential Revision: http://reviews.llvm.org/D7084 llvm-svn: 226796
This commit is contained in:
parent
df7a8e2bc8
commit
75a52451e8
|
@ -44,6 +44,8 @@
|
|||
|
||||
#if SANITIZER_FREEBSD
|
||||
#define pthread_setname_np pthread_set_name_np
|
||||
#define inet_aton __inet_aton
|
||||
#define inet_pton __inet_pton
|
||||
#endif
|
||||
|
||||
#ifndef COMMON_INTERCEPTOR_INITIALIZE_RANGE
|
||||
|
|
Loading…
Reference in New Issue