shithub: scc

ref: 4f219193c028b5e3b35d7317c2ead65b0f721b5e
dir: /libc/include/assert.h/

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

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

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

#endif