Eliminate unusable wcassert code in favor of plain old C asssert.
The WC_* macros only expand to something meaningful when _DEBUG is also defined. However, on enabling _DEBUG, bluedroid fails to build because the wc_assert function is not defined anywhere. We can get what I imagine is the equivalent behavior by switching over to the standard C assert macro.
Showing
- system/stack/avdt/avdt_ad.c 4 additions, 3 deletionssystem/stack/avdt/avdt_ad.c
- system/stack/avrc/avrc_api.c 5 additions, 5 deletionssystem/stack/avrc/avrc_api.c
- system/stack/avrc/avrc_opt.c 4 additions, 6 deletionssystem/stack/avrc/avrc_opt.c
- system/stack/include/wcassert.h 0 additions, 65 deletionssystem/stack/include/wcassert.h
- system/stack/mcap/mca_api.c 10 additions, 10 deletionssystem/stack/mcap/mca_api.c
- system/stack/mcap/mca_main.c 3 additions, 3 deletionssystem/stack/mcap/mca_main.c
Loading
Please register or sign in to comment