2
0
hughsando 10 жил өмнө
parent
commit
09070e1413
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      std/cpp/cppia/Host.hx

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

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