2
0
Эх сурвалжийг харах

Try not to crash the docs

Hugh 10 жил өмнө
parent
commit
b5a4a5a950
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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)