forked from KolibriOS/kolibrios
kolibri-libc:
- added qsort and assert - delete junk files - updated libc loader git-svn-id: svn://kolibrios.org@9013 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
9
programs/develop/ktcc/trunk/libc.obj/include/assert.h
Normal file
9
programs/develop/ktcc/trunk/libc.obj/include/assert.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#ifndef _ASSERT_H_
|
||||
#define _ASSERT_H_
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
|
||||
|
||||
#endif // _ASSERT_H_
|
Reference in New Issue
Block a user