Turn on the asserts in ringbuf for debug builds

This commit is contained in:
Kovid Goyal
2020-12-11 21:26:15 +05:30
parent bffe0f4a6c
commit 4cf5bd8d70
2 changed files with 5 additions and 0 deletions

View File

@@ -13,7 +13,9 @@
* <http://creativecommons.org/publicdomain/zero/1.0/>.
*/
#ifndef KITTY_DEBUG_BUILD
#define NDEBUG 1
#endif
#include "ringbuf.h"
#include <stdint.h>