nuttx-mirror/libs
yinshengkai b87804c2ba libc/string: replace __builtin_ffsl with inline function
In the gcc-riscv compiler, __builtin_ffs will call ffs, and calling __builtin_ffs in ffs will cause recursion

Change ffs to an inline function, and compile ffs implemented by nuttx by default.
Only call the implementation of nuttx when the compiler cannot provide an ffs implementation.

Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2024-04-30 19:47:08 +08:00
..
libc libc/string: replace __builtin_ffsl with inline function 2024-04-30 19:47:08 +08:00
libdsp Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
libm fix nxstyle 2024-04-16 19:09:12 +08:00
libnx semaphore/_SEM_XX: Remove the _SEM redirection macros as unnecessary 2023-11-27 04:52:54 -08:00
libxx Add basic support for locales in order to C++ streams to build and work for simple cases (POSIX / C locale). 2024-04-29 17:34:10 +08:00
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00