mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Fix build error if assert is defined in apriltag.c
This commit is contained in:
parent
b2b3e8d320
commit
d89bc9ebec
@ -55,6 +55,7 @@ either expressed or implied, of the Regents of The University of Michigan.
|
||||
#define malloc(size) ({ void *_r = umm_malloc(size); if(!_r) umm_alloc_fail(); _r; })
|
||||
#define realloc(ptr, size) ({ void *_r = umm_realloc((ptr), (size)); if(!_r) umm_alloc_fail(); _r; })
|
||||
#define calloc(num, item_size) ({ void *_r = umm_calloc((num), (item_size)); if(!_r) umm_alloc_fail(); _r; })
|
||||
#undef assert
|
||||
#define assert(expression)
|
||||
#define sqrt(x) fast_sqrtf(x)
|
||||
#define sqrtf(x) fast_sqrtf(x)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user