Iphone NDLL support (woah) (#239)
* 😭
* Update project.xml
* Update NdllUtil.hx
This commit is contained in:
+1
-1
@@ -142,7 +142,7 @@
|
||||
<haxedef name="USE_ADAPTED_ASSETS" unless="web" />
|
||||
|
||||
<!-- Comment this out to disable support for custom ndlls. !-->
|
||||
<haxedef name="NDLLS_SUPPORTED" unless="web" />
|
||||
<haxedef name="NDLLS_SUPPORTED" unless="web || iphonesim" />
|
||||
|
||||
<!-- Comment this out to disable support for custom extended classes (data/classes). !-->
|
||||
<define name="SOFTCODED_CLASSES" />
|
||||
|
||||
@@ -18,10 +18,11 @@ import lime.app.Application;
|
||||
*/
|
||||
class NdllUtil {
|
||||
#if NDLLS_SUPPORTED
|
||||
#if windows public static final os:String = "windows"; #end
|
||||
#if linux public static final os:String = "linux"; #end
|
||||
#if macos public static final os:String = "mac"; #end
|
||||
#if android public static final os:String = "android"; #end
|
||||
#if windows public static final os:String = "windows"; #end
|
||||
#if linux public static final os:String = "linux"; #end
|
||||
#if macos public static final os:String = "mac"; #end
|
||||
#if android public static final os:String = "android"; #end
|
||||
#if ios public static final os:String = "ios"; #end
|
||||
#end
|
||||
|
||||
/**
|
||||
@@ -74,4 +75,4 @@ class NdllUtil {
|
||||
}
|
||||
|
||||
@:dox(hide) @:noCompletion static function noop() {}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user