Open keith-packard opened 2 weeks ago
I would guess that an ifndef
might not be sufficient here, since that value should probably be configurable via Kconfig (if it isn't already).
What are your thoughts here @keith-packard ?
I would guess that an
ifndef
might not be sufficient here, since that value should probably be configurable via Kconfig (if it isn't already).What are your thoughts here @keith-packard ?
All of these constants actually have fixed values defined by POSIX, so #ifndef
would be completely fine. You probably only need to check one of them?
Just landed 🛬 - this should be easy enough to fix quickly.
as we both try to track POSIX in parallel. Thanks for taking a look; hope your travel is going well.
Describe the bug Upstream picolibc includes definitions for various minimum values in limits.h that are required by POSIX including
_POSIX_NAME_MAX
and_POSIX_PATH_MAX
. Zephyr is redefining these in include/zephyr/posix/posix_features.h.To Reproduce
Expected behavior Successful test run
Impact Cannot migrate picolibc to upstream development version
Logs and console output
Environment (please complete the following information):