diff options
| author | [email protected] <[email protected]> | 2011-09-01 06:21:01 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2011-09-01 06:21:01 +0000 |
| commit | 445f8de91d0a08f099c3c24848980bde4d643fdd (patch) | |
| tree | a04299718ea95a3f29707b16af2a422f965e4e43 | |
| parent | cf52e57490c7e3847edd26b562ba42d81662d4a6 (diff) | |
move assert.h to RT_USING_NEWLIB
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1685 bbd45198-f89e-11dd-88c7-29a3b14d5316
| -rw-r--r-- | src/rtm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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);
|
