armstdc: add limits.h header
Add limits.h header that defines PATH_MAX as this is not defined by the toolchain headers. The value of 256 for PATH_MAX is based on how it is set in lib/libc/minimal/include/limits.h. Signed-off-by: Kumar Gala <kumar.gala@intel.com>
This commit is contained in:
parent
64c0ac2acb
commit
48cd295a7f
22
lib/libc/armstdc/include/limits.h
Normal file
22
lib/libc/armstdc/include/limits.h
Normal file
@ -0,0 +1,22 @@
|
||||
/*
|
||||
* Copyright (c) 2023 Intel
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#ifndef ZEPHYR_LIB_LIBC_ARMSTDC_INCLUDE_LIMITS_H_
|
||||
#define ZEPHYR_LIB_LIBC_ARMSTDC_INCLUDE_LIMITS_H_
|
||||
|
||||
#include_next <limits.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define PATH_MAX 256
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* ZEPHYR_LIB_LIBC_ARMSTDC_INCLUDE_LIMITS_H_ */
|
||||
Loading…
Reference in New Issue
Block a user