From: Hermet Park Date: Tue, 10 Mar 2020 14:20:33 +0000 (+0900) Subject: build: disable thread_local if the thread is not supported. X-Git-Tag: submit/tizen/20200313.022654~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f6d2d6070553511791ef2ec526f59db0ba97da9d;p=platform%2Fcore%2Fuifw%2Flottie-player.git build: disable thread_local if the thread is not supported. Some version of ios/i386 compiler doesn support this thread_local feature. Actually, thread_local doesn't necessary if the thread doesn't supported. Change-Id: Ifcebef55f0809603695ce83cf4b35edab2e87188 --- diff --git a/meson.build b/meson.build index f8374e0..f379975 100644 --- a/meson.build +++ b/meson.build @@ -14,6 +14,8 @@ config_h = configuration_data() if get_option('thread') == true config_h.set10('LOTTIE_THREAD_SUPPORT', true) +else + config_h.set('thread_local', true) endif if get_option('module') == true