shithub: scc

ref: 9cdf8d4b4c9ecf24e8e065fdbf9a6aea48d5f4af
dir: /lib/c/include/assert.h/

View raw version
#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