diff options
author | Damien Le Moal <damien.lemoal@wdc.com> | 2020-09-09 16:18:04 +0900 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2020-09-13 15:32:46 +0200 |
commit | 08d46f1ce21e4ec51b2b1626beeaea6cbe7fdc6b (patch) | |
tree | 0e5ab2497d9c7ffd2d77fd29ffb807edc3d1f677 /libc/stdlib/wcstol_l.c | |
parent | b1ed80b54e19345f8846d250098128aea49c1b67 (diff) |
librt: avoid compilation error
For NOMMU builds, LIBC_CANCEL_ASYNC and LIBC_CANCEL_RESET are not
defined. Prevent these macros from being visible by the compiler in
clock_nanosleep() by replacing "if (SINGLE_THREAD_P) {" with the
pre-compiler directive "#if defined(SINGLE_THREAD_P)".
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Diffstat (limited to 'libc/stdlib/wcstol_l.c')
0 files changed, 0 insertions, 0 deletions