armink / FlashDB

An ultra-lightweight database that supports key-value and time series data | 一款支持 KV 数据和时序数据的超轻量级数据库
Apache License 2.0
1.84k stars 426 forks source link

[port/fal] add option to use native assert() #225

Closed benpicco closed 1 year ago

benpicco commented 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.

Add an option FDB_USING_NATIVE_ASSERT to use the platform's native assert() function instead of defining a custom one.

armink commented 1 year ago

Thx @benpicco