The header file <assert.h> defines the assert macro under control of the NDEBUG macro, which the library does not define.

Macros
assert Assert that a condition is true