From c48f1fb44abaec254435c7c6ed26da62e19b58a3 Mon Sep 17 00:00:00 2001 From: Joseph Cloutier Date: Tue, 31 May 2022 02:57:02 -0400 Subject: [PATCH] Try a different approach to `haxe_ver`. --- src/lime/_internal/backend/native/NativeApplication.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lime/_internal/backend/native/NativeApplication.hx b/src/lime/_internal/backend/native/NativeApplication.hx index 0219b7571..c38f5f251 100644 --- a/src/lime/_internal/backend/native/NativeApplication.hx +++ b/src/lime/_internal/backend/native/NativeApplication.hx @@ -601,12 +601,12 @@ class NativeApplication } } - #if (haxe_ver > "4.1.5") + #if (haxe_ver >= 4.2) #if target.threaded sys.thread.Thread.current().events.progress(); #else // Duplicate code required because Haxe 3 can't handle - // #if (haxe_ver > "4.1.5" && target.threaded) + // #if (haxe_ver >= 4.2 && target.threaded) @:privateAccess haxe.EntryPoint.processEvents(); #end #else