aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/dctc/files/lp_mutex.c
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-06-05 06:06:03 +0800
committermarcus <marcus@FreeBSD.org>2004-06-05 06:06:03 +0800
commit1a40251ca73155417a21726d5372d684e033eade (patch)
tree02d45f863106735b9fb8e9f079594a15948263a0 /net-p2p/dctc/files/lp_mutex.c
parent2b75b0b45357aa4b6ee5a08446bb5a07550fe6ab (diff)
downloadfreebsd-ports-gnome-1a40251ca73155417a21726d5372d684e033eade.tar.gz
freebsd-ports-gnome-1a40251ca73155417a21726d5372d684e033eade.tar.zst
freebsd-ports-gnome-1a40251ca73155417a21726d5372d684e033eade.zip
Fix build on -CURRENT now that we no longer have default PTHREAD_CFLAGS.
Basically, all modern, supported versions of FreeBSD are thread-safe, so just assume we have pthread.h. Reported by: bento via kris
Diffstat (limited to 'net-p2p/dctc/files/lp_mutex.c')
-rw-r--r--net-p2p/dctc/files/lp_mutex.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net-p2p/dctc/files/lp_mutex.c b/net-p2p/dctc/files/lp_mutex.c
index 2c76d0aaea55..036b004e23dc 100644
--- a/net-p2p/dctc/files/lp_mutex.c
+++ b/net-p2p/dctc/files/lp_mutex.c
@@ -38,7 +38,6 @@
#include <stdlib.h>
-#ifdef _THREAD_SAFE
# include <pthread.h>
/*
@@ -118,5 +117,3 @@ int
lp_mutex_destroy_ (pthread_mutex_t ** mutex) {}
# endif /* (defined(BSD) && (BSD >= 199103)) */
-
-#endif /* _THREAD_SAFE */