Explorar o código

[cs/unity] Unity does not support Compiled flag

Cauê Waneck %!s(int64=11) %!d(string=hai) anos
pai
achega
16b168867a
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      std/cs/_std/EReg.hx

+ 2 - 0
std/cs/_std/EReg.hx

@@ -42,8 +42,10 @@ class EReg {
 					isGlobal = true;
 				case 'm'.code:
 					opts |= cast(Multiline, Int);
+#if (!unity && !unity_std_target)
 				case 'c'.code:
 					opts |= cast(Compiled, Int);
+#end
 			}
 		}