mirror of
https://github.com/apache/nuttx.git
synced 2026-05-11 07:48:59 +08:00
libc: Implement local_t related functions
since local_t isn't really implemented on NuttX, we can simply redirect to the non-locale version. Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Gustavo Henrique Nihei
parent
decf7d0ad9
commit
cdc781bdfd
@@ -35,6 +35,14 @@
|
||||
|
||||
#include <nuttx/b2c.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
#define strcoll_l(s1, s2, l) strcoll(s1, s2)
|
||||
#define strerror_l(e, l) strerror(e)
|
||||
#define strxfrm_l(s1, s2, n, l) strxfrm(s1, s2, n)
|
||||
|
||||
/****************************************************************************
|
||||
* Public Function Prototypes
|
||||
****************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user