diff --git a/src/internal.h b/src/internal.h index 2e73210d0e..896df22d74 100644 --- a/src/internal.h +++ b/src/internal.h @@ -9,6 +9,14 @@ # include # include +# if STATIC_ANALYSIS +# undef NDEBUG /* Don't let a prior NDEBUG definition cause trouble. */ +# include +# define sa_assert(expr) assert (expr) +# else +# define sa_assert(expr) /* empty */ +# endif + # ifdef HAVE_SYS_SYSLIMITS_H # include # endif