Przeglądaj źródła

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 13 lat temu
rodzic
commit
445f8de91d
1 zmienionych plików z 1 dodań i 1 usunięć
  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);