move assert.h to RT_USING_NEWLIB
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1685 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
cf52e57490
commit
445f8de91d
|
@ -13,7 +13,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <rtthread.h>
|
#include <rtthread.h>
|
||||||
#include <assert.h>
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -187,6 +186,7 @@ RTM_EXPORT(memcpy);
|
||||||
#ifdef RT_USING_NEWLIB
|
#ifdef RT_USING_NEWLIB
|
||||||
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
#include <assert.h>
|
||||||
|
|
||||||
RTM_EXPORT(snprintf);
|
RTM_EXPORT(snprintf);
|
||||||
RTM_EXPORT(access);
|
RTM_EXPORT(access);
|
||||||
|
|
Loading…
Reference in New Issue