From 3d4267abaafb0ab3d1ac5ccb0276f8582f65952c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net>
Date: Sat, 9 Oct 1999 16:27:48 -0700
Subject: [PATCH] allow this to load even without threads

Rev: lib/modules/Thread.pmod:1.17
---
 lib/modules/Thread.pmod | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/modules/Thread.pmod b/lib/modules/Thread.pmod
index 7e5f13b69f..6a81929ee7 100644
--- a/lib/modules/Thread.pmod
+++ b/lib/modules/Thread.pmod
@@ -1,3 +1,5 @@
+#if constant(thread_create)
+
 constant Mutex=__builtin.mutex;
 constant Condition=__builtin.condition;
 
@@ -372,4 +374,4 @@ class Farm
   }
 }
 
-
+#endif /* constant(thread_create) */
-- 
GitLab