<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;"># This is just borrowed from a later upstream version.

From 9c5ae1c29b0646b501f9704ce335f835ce33c1c0 Mon Sep 17 00:00:00 2001
From: barracuda156 &lt;vital.had@gmail.com&gt;
Date: Thu, 10 Aug 2023 04:51:25 +0800
Subject: [PATCH 2/3] bdthreads.cc: fix pointer comparison

---
 libbitdht/src/util/bdthreads.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git libbitdht/src/util/bdthreads.cc libbitdht/src/util/bdthreads.cc
index b52d152da..6a944d6b2 100644
--- libbitdht/src/util/bdthreads.cc
+++ libbitdht/src/util/bdthreads.cc
@@ -126,7 +126,7 @@ void bdThread::join() /* waits for the the mTid thread to stop */
 
     mMutex.lock();
     {
-#if defined(_WIN32) || defined(__MINGW32__)
+#if defined(_WIN32) || defined(__MINGW32__) || defined(__APPLE__)
 	/* Its a struct in Windows compile and the member .p ist checked in the pthreads library */
 #else
 	if(mTid &gt; 0)
</pre></body></html>