mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-10-19 12:14:30 +08:00
[rtdef][libc] solve the conflicts between libc data types and rtdef data types (#5961)
This commit is contained in:

committed by
GitHub

parent
50a42331e6
commit
c147ff417c
@@ -17,7 +17,7 @@ if rtconfig.PLATFORM == 'gcc':
|
||||
print('Newlib version:' + GetNewLibVersion(rtconfig))
|
||||
|
||||
# identify this is Newlib, and only enable POSIX.1-1990
|
||||
CPPDEFINES = ['RT_USING_NEWLIB', '_POSIX_C_SOURCE=1']
|
||||
CPPDEFINES = ['RT_USING_NEWLIB', 'RT_USING_LIBC', '_POSIX_C_SOURCE=1']
|
||||
|
||||
group = DefineGroup('Compiler', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES, LIBS = LIBS)
|
||||
|
||||
|
Reference in New Issue
Block a user