浏览代码

add c99 for tbox test

ruki 6 年之前
父节点
当前提交
3a86816e6d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/t/tbox/xmake.lua

+ 1 - 1
packages/t/tbox/xmake.lua

@@ -63,5 +63,5 @@ package("tbox")
     end)
 
     on_test(function (package)
-        assert(package:has_cfuncs("tb_exit", {includes = "tbox/tbox.h"}))
+        assert(package:has_cfuncs("tb_exit", {includes = "tbox/tbox.h", configs = {languages = "c99"}}))
     end)