[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:
Viktor Kutuzov 2015-01-22 08:51:07 +00:00
parent df7a8e2bc8
commit 75a52451e8
1 changed files with 2 additions and 0 deletions

View File

@ -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