libc/pwd: Add NSS_BUFLEN_PASSWD macro
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> Change-Id: I739679038b2004cc45d78f540831ba81b088a586
This commit is contained in:
parent
9b4014d048
commit
6ebc1b27fa
|
@ -34,6 +34,12 @@
|
||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
#ifdef CONFIG_LIBC_PASSWD_LINESIZE
|
||||||
|
# define NSS_BUFLEN_PASSWD CONFIG_LIBC_PASSWD_LINESIZE
|
||||||
|
#else
|
||||||
|
# define NSS_BUFLEN_PASSWD 256
|
||||||
|
#endif
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Public Type Definitions
|
* Public Type Definitions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
Loading…
Reference in New Issue