From c42942e515bb6677e87d8979949e98bc9c900483 Mon Sep 17 00:00:00 2001 From: truelight Date: Sun, 20 Aug 2006 13:48:04 +0000 Subject: (svn r5978) -Add: allow a switch in Makefile.config to disable threads in OpenTTD (no matter what system you are on). Only useful for testing. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index cd155a6f1..379f92ab2 100644 --- a/Makefile +++ b/Makefile @@ -511,6 +511,10 @@ ifdef DISABLE_ASSERTS CFLAGS += -DNDEBUG endif +ifdef NO_THREADS +CFLAGS += -DNO_THREADS +endif + # automatically disables asserts for release ifdef RELEASE ifndef ENABLE_ASSERTS -- cgit v1.2.3-70-g09d2