Skip to content

Commit 736b5a6

Browse files
tobil4skplayer-03
authored andcommitted
Make JNISafety safe for macro context
1 parent 36d7953 commit 736b5a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lime/system/JNI.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ class JNIMethod
384384
```
385385
**/
386386
// Haxe 3 can't parse "target.threaded" inside parentheses.
387-
#if !doc_gen
387+
#if !(doc_gen || macro)
388388
#if target.threaded
389389
@:autoBuild(lime.system.JNI.JNISafetyTools.build())
390390
#elseif (cpp || neko)

0 commit comments

Comments
 (0)