Explorar el Código

Try not to crash the docs

Hugh hace 10 años
padre
commit
b5a4a5a950
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      std/cpp/cppia/Host.hx

+ 1 - 1
std/cpp/cppia/Host.hx

@@ -12,7 +12,7 @@ class Host
    public static function main()
    {
       var script = Sys.args()[0];
-      #if !scriptable
+      #if (cpp && !scriptable)
       #error "Please define scriptable to use cppia"
       #end
       if (script==null)