Re: [PATCH] Fix build when compiling without threads traffic

2018-01-24 Thread Willy Tarreau
On Wed, Jan 24, 2018 at 03:44:25PM +0100, Olivier Houchard wrote: > Hi, > > Commit 1605c7ae6154d8c2cfcf3b325872b1a7266c5bc2 broke building haproxy > without threads support. The attached patch should fix it. Oh, thank you Olivier. I didn't know that HA_SPINLOCK_T wasn't declared without threads,

[PATCH] Fix build when compiling without threads traffic

2018-01-24 Thread Olivier Houchard
Hi, Commit 1605c7ae6154d8c2cfcf3b325872b1a7266c5bc2 broke building haproxy without threads support. The attached patch should fix it. Regards, Olivier >From 17e4494874b4a75da039f06f00f668d413038283 Mon Sep 17 00:00:00 2001 From: Olivier Houchard Date: Wed, 24 Jan 2018 15:41:04 +0100 Subject: [P