trying again to use Context.defined() for threading check

This commit is contained in:
2022-10-09 19:58:53 +00:00
parent 62d57bc424
commit 4b3730a0af

View File

@@ -179,7 +179,7 @@ class Macros {
// Context.definedValue only returns a string so if there's a whole
// object, I don't know how to get it
conditionInterp.variables["target"] = {
threaded: Context.getModule("sys.thread.Thread") != null
threaded: Context.defined("target.threaded")
};
#if test
Prelude.print("#if condition hscript: " + hscriptStr);