summaryrefslogtreecommitdiff
path: root/components/libc/getline
diff options
context:
space:
mode:
authormysterywolf <[email protected]>2020-09-05 19:47:34 +0800
committermysterywolf <[email protected]>2020-09-05 19:47:34 +0800
commit443978eb784e68c33b469e04f4105e87fdf2fa55 (patch)
treea655963128432694e7bf43dde4b04b0a9692bb21 /components/libc/getline
parentcf00e7f0a1c5d76fd990f37e72f165391ff2d595 (diff)
增加RT_USING_POSIX_GETLINE用于单独控制是否启用getline函数,并修改Kconfig增加对应选项
Diffstat (limited to 'components/libc/getline')
-rw-r--r--components/libc/getline/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/libc/getline/SConscript b/components/libc/getline/SConscript
index 7bede9f31b..fa4c8618c1 100644
--- a/components/libc/getline/SConscript
+++ b/components/libc/getline/SConscript
@@ -7,7 +7,7 @@ src = Glob('*.c') + Glob('*.cpp')
CPPPATH = [cwd]
group = DefineGroup('libc', src,
- depend = ['RT_USING_LIBC', 'RT_USING_POSIX'],
+ depend = ['RT_USING_LIBC', 'RT_USING_POSIX','RT_USING_POSIX_GETLINE'],
CPPPATH = CPPPATH)
Return('group')