Skip to content

Commit

Permalink
fix ci errors
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Apr 28, 2021
1 parent 814c7a4 commit 27f8968
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cross_musl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ jobs:
- name: Tests
run: |
xmake f -p cross --toolchain=musl --sdk=`pwd`/${{ matrix.cross }}-cross
xmake f -p cross --toolchain=muslcc --sdk=`pwd`/${{ matrix.cross }}-cross
xmake
2 changes: 1 addition & 1 deletion src/tbox/prefix/assert.h
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ __tb_extern_c_enter__
# define tb_assert_static(x) static_assert(x, "")
# define tb_assert_static_msg(x, m) static_assert(x, m)
#else
# define tb_assert_static(x) do { typedef int __tb_static_assert__[(x)? 1 : -1]; __tb_volatile__ __tb_static_assert__ __a; tb_used_ptr((tb_cpointer_t)(tb_size_t)__a); } while(0)
# define tb_assert_static(x) do { typedef int __tb_static_assert__[(x)? 1 : -1]; __tb_volatile__ __tb_static_assert__ __a = {0}; tb_used_ptr((tb_cpointer_t)(tb_size_t)__a); } while(0)
# define tb_assert_static_msg(x, m) tb_assert_static(x)
#endif

Expand Down

0 comments on commit 27f8968

Please sign in to comment.