summaryrefslogtreecommitdiff
path: root/components/libc/newlib/syscalls.c
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-11-24 08:02:56 +0000
committer[email protected] <[email protected]>2012-11-24 08:02:56 +0000
commit0405b647f7a475cfc48343dc2bdb8072f56e809c (patch)
treeb58ff8750d18415acbf0ccad7a8e32110d6546da /components/libc/newlib/syscalls.c
parent6a8ac7814cc98298f02a2a41364640b2b2e8d9e5 (diff)
fix preprocessor mistake.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2445 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/libc/newlib/syscalls.c')
-rw-r--r--components/libc/newlib/syscalls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/libc/newlib/syscalls.c b/components/libc/newlib/syscalls.c
index 7d3797948c..5b829f4753 100644
--- a/components/libc/newlib/syscalls.c
+++ b/components/libc/newlib/syscalls.c
@@ -82,7 +82,7 @@ _link_r(struct _reent *ptr, const char *old, const char *new)
_off_t
_lseek_r(struct _reent *ptr, int fd, _off_t pos, int whence)
{
-#ifndef RT_USING_DfS
+#ifndef RT_USING_DFS
return 0;
#else
_off_t rc;