diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2021-12-10 11:39:26 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2021-12-10 14:05:46 +0000 |
commit | ca1c7065e9de04ceb521a0b409071275c5690341 (patch) | |
tree | c50e8517c7885e806a9a152e6f0cdf359dbd91cc /gcc | |
parent | 68fd247e15e4de6eedd6c5cde5085e302406e183 (diff) | |
download | gcc-ca1c7065e9de04ceb521a0b409071275c5690341.zip gcc-ca1c7065e9de04ceb521a0b409071275c5690341.tar.gz gcc-ca1c7065e9de04ceb521a0b409071275c5690341.tar.bz2 |
libstdc++: Fix definition of _GLIBCXX_NO_SLEEP config macro
If no OS function to sleep (e.g. nanosleep, usleep, Win32 Sleep etc.) is
available then configure defines the macro NO_SLEEP. But this will not
get prefixed with "_GLIBCXX_" because include/Makefile.am only does that
for macros beginning with "HAVE_". The configure script should define
_GLIBCXX_NO_SLEEP instead (which is what the code actually checks for).
libstdc++-v3/ChangeLog:
* acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Add _GLIBCXX_
prefix to NO_SLEEP macro.
* config.h.in: Regenerate.
* configure: Regenerate.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions