shithub: scc

ref: 07094f38b49ec4f867ea7cd8f5d453940e48951c
dir: /libc/include/assert.h/

View raw version
/* See LICENSE file for copyright and license details. */
#ifndef _ASSERT_H
#define _ASSERT_H

void __assert(int status, char *exp, char *file, long line);

#ifndef NDEBUG
# define assert(exp) __assert(exp, #exp, __FILE__, __LINE__)
#else
# define assert(exp) ((void)0)
#endif

#endif