From 3ed26e71f96e60f6884114e37eaab6d61defc3cf Mon Sep 17 00:00:00 2001 From: Claudio Contin Date: Mon, 27 Nov 2017 21:56:42 +1300 Subject: [PATCH] Never abort the process for code supposed to be run in non debug mode --- .gitignore | 1 + ext/yajl/yajl_encode.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 8f709526..c2a23610 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ vendor/gems Gemfile.lock .rbx bin/ +ext/yajl/yajl.so diff --git a/ext/yajl/yajl_encode.h b/ext/yajl/yajl_encode.h index 9f3a8d30..6f413bbd 100644 --- a/ext/yajl/yajl_encode.h +++ b/ext/yajl/yajl_encode.h @@ -33,6 +33,8 @@ #ifndef __YAJL_ENCODE_H__ #define __YAJL_ENCODE_H__ +#define NDEBUG FALSE + #include "yajl_buf.h" #include "api/yajl_gen.h"