Closed benpicco closed 1 year ago
Platforms that already define an assert() function (in assert.h) will have a conflict if assert.h and flashdb.h are included in the same file.
assert()
assert.h
flashdb.h
Add an option FDB_USING_NATIVE_ASSERT to use the platform's native assert() function instead of defining a custom one.
FDB_USING_NATIVE_ASSERT
Thx @benpicco
Platforms that already define an
assert()
function (inassert.h
) will have a conflict ifassert.h
andflashdb.h
are included in the same file.Add an option
FDB_USING_NATIVE_ASSERT
to use the platform's nativeassert()
function instead of defining a custom one.