Okay.
Thanks for reviewing the patch.
Let's stay with current version. '!= 0' will not add any improvement.Unpatched version gives maintenance simplicity. -- Best Wishes,Evgeny Grin 27.11.2019, 16:53, "ng0" :Okay, thanks.What about the != 0 addition, could this be problematic as well?
Okay, thanks.
What about the != 0 addition, could this be problematic as well?
This could cause a problem on platforms where size of unsigned long is smaller than size of pointer. Windows x64 is obvious example. -- Best Wishes,Evgeny Grin 27.11.2019, 14:47, "ng0" :Hi,is this okay for merge? I took it from our (NetBSD) tree,compared to what libmicrohttpd contains.diff --git
Hi,
is this okay for merge? I took it from our (NetBSD) tree,
compared to what libmicrohttpd contains.
diff --git a/src/lib/tsearch.c b/src/lib/tsearch.c
index 78f37608..2d374cad 100644
--- a/src/lib/tsearch.c
+++ b/src/lib/tsearch.c
@@ -12,6 +12,9 @@
#include "tsearch.h"
#include
+#ifndef _