瀏覽代碼

move assert.h to RT_USING_NEWLIB

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1685 bbd45198-f89e-11dd-88c7-29a3b14d5316
bernard.xiong@gmail.com 14 年之前
父節點
當前提交
445f8de91d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/rtm.c

+ 1 - 1
src/rtm.c

@@ -13,7 +13,6 @@
  */
 
 #include <rtthread.h> 
-#include <assert.h>
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
@@ -187,6 +186,7 @@ RTM_EXPORT(memcpy);
 #ifdef RT_USING_NEWLIB
 
 #include <unistd.h>
+#include <assert.h>
 
 RTM_EXPORT(snprintf);
 RTM_EXPORT(access);