From 4f57fabdd3f45235c9500dbf37b881daf75810dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Thu, 6 Apr 2000 19:56:08 +0200
Subject: [PATCH] Should now work on OS's without threads.

Rev: lib/modules/Protocols.pmod/HTTP.pmod/Query.pike:1.16
---
 lib/modules/Protocols.pmod/HTTP.pmod/Query.pike | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/modules/Protocols.pmod/HTTP.pmod/Query.pike b/lib/modules/Protocols.pmod/HTTP.pmod/Query.pike
index 473730b377..ef05985ed5 100644
--- a/lib/modules/Protocols.pmod/HTTP.pmod/Query.pike
+++ b/lib/modules/Protocols.pmod/HTTP.pmod/Query.pike
@@ -526,7 +526,9 @@ int `()()
 
 string data()
 {
+#if constant(thread_create)
    `()();
+#endif
    int len=(int)headers["content-length"];
    int l;
    if (zero_type(len)) 
-- 
GitLab