diff options
Diffstat (limited to 'makefiles/gmake/platform.mk')
-rw-r--r-- | makefiles/gmake/platform.mk | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/makefiles/gmake/platform.mk b/makefiles/gmake/platform.mk index 6f94216..d5fb525 100644 --- a/makefiles/gmake/platform.mk +++ b/makefiles/gmake/platform.mk @@ -100,6 +100,7 @@ LIBS_DL = endif endif + # i18n, gettext/libintl ####################### @@ -219,3 +220,14 @@ LIBS_NET = endif PLATFORM_COMPILE_FLAGS += $(INCLUDE_FLAGS_NET) + +# threading support +################### + +# enable or disable threading +ENABLE_THREADS = 1 + +ifeq "$(ENABLE_NLS)" "1" +PLATFORM_COMPILE_FLAGS += \ + -DENABLE_THREADS=$(ENABLE_THREADS) +endif |