From 0405b647f7a475cfc48343dc2bdb8072f56e809c Mon Sep 17 00:00:00 2001 From: "bernard.xiong@gmail.com" Date: Sat, 24 Nov 2012 08:02:56 +0000 Subject: [PATCH] fix preprocessor mistake. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2445 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- components/libc/newlib/syscalls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- GitLab