(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.

This commit is contained in:
truelight
2006-08-20 13:48:04 +00:00
parent a06d5548eb
commit f73b17323e
3 changed files with 10 additions and 4 deletions

View File

@@ -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