Sfoglia il codice sorgente

Try not to crash the docs

Hugh 10 anni fa
parent
commit
b5a4a5a950
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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)