develop/ktcc: Post-SVN tidy
- Move source code from `trunk` into program root directory. - Update build files.
This commit is contained in:
13
programs/develop/ktcc/libc.obj/include/assert.h
Normal file
13
programs/develop/ktcc/libc.obj/include/assert.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef _ASSERT_H_
|
||||
#define _ASSERT_H_
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef NDEBUG
|
||||
#define assert(x) (void)0
|
||||
#else
|
||||
#define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__), 0)))
|
||||
#endif
|
||||
|
||||
#endif // _ASSERT_H_
|
Reference in New Issue
Block a user