浏览代码

[cs/unity] Unity does not support Compiled flag

Cauê Waneck 11 年之前
父节点
当前提交
16b168867a
共有 1 个文件被更改,包括 2 次插入0 次删除
  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
 			}
 		}