From eba9970dcbc62f1ae95fe45caf65bbb2613736a7 Mon Sep 17 00:00:00 2001
From: Martin Nilsson <nilsson@fastmail.com>
Date: Thu, 10 Aug 2017 23:19:14 +0200
Subject: [PATCH] Fix syntax error when compiling without threads.

---
 src/backend.cmod | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/backend.cmod b/src/backend.cmod
index 7e7a58e7aa..e0eb4decf3 100644
--- a/src/backend.cmod
+++ b/src/backend.cmod
@@ -2201,8 +2201,9 @@ PIKECLASS Backend
 	  return -1;
 	}
 	return 1;
-      } else {
+      } else
 #endif
+      {
 	/* It's actually not a problem to make this function
 	 * reentrant, but that'd introduce a risk of races in the
 	 * callbacks (i.e. between when a read callback is called
-- 
GitLab