commit | 7f412924d35acb47427912368b2b69c2b67ca414 | [log] [tgz] |
---|---|---|
author | Keith Packard <keithp@keithp.com> | Thu Sep 12 13:27:59 2024 -0700 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Mon Sep 16 20:17:35 2024 +0200 |
tree | c63da9855453ed85326640548a67a919451e9cfb | |
parent | a372220ade2b5dc83faed664675b9a29034bf14b [diff] |
libc/common: Define _POSIX_C_SOURCE to gain access to POSIX functions ctime.c and localtime_r_utc.c may use POSIX-only functions; to ensure those are visible from a POSIX-conforming C library, define _POSIX_C_SOURCE in these source files. Signed-off-by: Keith Packard <keithp@keithp.com>