trying again to use Context.defined() for threading check
This commit is contained in:
@@ -179,7 +179,7 @@ class Macros {
|
|||||||
// Context.definedValue only returns a string so if there's a whole
|
// Context.definedValue only returns a string so if there's a whole
|
||||||
// object, I don't know how to get it
|
// object, I don't know how to get it
|
||||||
conditionInterp.variables["target"] = {
|
conditionInterp.variables["target"] = {
|
||||||
threaded: Context.getModule("sys.thread.Thread") != null
|
threaded: Context.defined("target.threaded")
|
||||||
};
|
};
|
||||||
#if test
|
#if test
|
||||||
Prelude.print("#if condition hscript: " + hscriptStr);
|
Prelude.print("#if condition hscript: " + hscriptStr);
|
||||||
|
|||||||
Reference in New Issue
Block a user