meta: move photon/libc to root
This commit is contained in:
8
libc/include/assert.h
Normal file
8
libc/include/assert.h
Normal file
@@ -0,0 +1,8 @@
|
||||
#ifndef PHOTON_ASSERT_H_
|
||||
#define PHOTON_ASSERT_H_
|
||||
|
||||
#define assert(x) if (!(x)) { __assert_fail(#x, __FUNCTION__, __FILE__, __LINE__); }
|
||||
|
||||
extern void _Noreturn __assert_fail(const char *, const char *, const char *, int);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user