diff options
author | Tor Egge <tegge@FreeBSD.org> | 2004-03-21 20:22:14 +0000 |
---|---|---|
committer | Tor Egge <tegge@FreeBSD.org> | 2004-03-21 20:22:14 +0000 |
commit | fde454087475cb754059ce8764911b3069147a34 (patch) | |
tree | 2f3de969519223ee8f88bc6f7dba6a9fd5420d42 /devel/linuxthreads/files/gethostby_r.c | |
parent | Update to 2.1.28. (diff) |
Stop wrapping gethost* functions on 5.2-CURRENT.
Notes
Notes:
svn path=/head/; revision=104859
Diffstat (limited to 'devel/linuxthreads/files/gethostby_r.c')
-rw-r--r-- | devel/linuxthreads/files/gethostby_r.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/linuxthreads/files/gethostby_r.c b/devel/linuxthreads/files/gethostby_r.c index 44aa5227225b..8a171aac05c3 100644 --- a/devel/linuxthreads/files/gethostby_r.c +++ b/devel/linuxthreads/files/gethostby_r.c @@ -7,6 +7,8 @@ #define NEED_ALIGNED_ACCESS #endif +#if __FreeBSD_version < 502104 + static pthread_mutex_t gethostby_mutex = PTHREAD_MUTEX_INITIALIZER; static int @@ -166,3 +168,5 @@ gethostent_r (struct hostent *result, char *buffer, int buflen, pthread_mutex_unlock (&gethostby_mutex); return result; } + +#endif /* #if __FreeBSD_version < 502104 */ |