diff --git a/lime/system/System.hx b/lime/system/System.hx index a6e276869..d1676b6ac 100644 --- a/lime/system/System.hx +++ b/lime/system/System.hx @@ -186,7 +186,8 @@ class System { public static function getDisplay (id:Int):Display { - #if ((cpp || neko || nodejs) && !macro) + #if !macro + #if (cpp || neko || nodejs) var displayInfo:Dynamic = lime_system_get_display.call (id); if (displayInfo != null) { @@ -229,6 +230,7 @@ class System { } #end + #end return null;