summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rpmio/rpmsq.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/rpmio/rpmsq.c b/rpmio/rpmsq.c
index 8ba657829..4e69ad040 100644
--- a/rpmio/rpmsq.c
+++ b/rpmio/rpmsq.c
@@ -11,8 +11,6 @@
#include <errno.h>
#include <stdio.h>
-#if defined(HAVE_PTHREAD_H)
-
#include <pthread.h>
/* XXX suggested in bugzilla #159024 */
@@ -33,17 +31,6 @@ static pthread_mutex_t rpmsigTbl_lock = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
#define ME() ((void *)pthread_self())
-#else
-
-#define DO_LOCK()
-#define DO_UNLOCK()
-#define ADD_REF(__tbl) (0)
-#define SUB_REF(__tbl) (0)
-
-#define ME() (((void *)getpid()))
-
-#endif /* HAVE_PTHREAD_H */
-
#define _RPMSQ_INTERNAL
#include <rpm/rpmsq.h>