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