aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@adacore.com>2022-06-23 23:20:53 -0300
committerAlexandre Oliva <oliva@gnu.org>2022-06-23 23:28:14 -0300
commit93070671eae44f24ba822383e17571a39257c637 (patch)
treeec63cf8c4576857b089c6322d5e4a65c4d75d427 /gcc
parent5d8a5f04acec697c893e1c2263032bc01e2c2f2b (diff)
downloadgcc-93070671eae44f24ba822383e17571a39257c637.zip
gcc-93070671eae44f24ba822383e17571a39257c637.tar.gz
gcc-93070671eae44f24ba822383e17571a39257c637.tar.bz2
libstdc++: check for openat
rtems6.0 has fdopendir, and fcntl.h defines AT_FDCWD and declares openat, but there's no openat in libc. Adjust dir-common.h to not assume ::openat just because of AT_FDCWD. for libstdc++-v3/ChangeLog * acinclude.m4 (GLIBCXX_CHECK_FILESYSTEM_DEPS): Check for openat. * configure, config.h.in: Rebuilt. * src/filesystem/dir-common.h (openat): Use ::openat if _GLIBCXX_HAVE_OPENAT. * src/filesystem/dir.cc (dir_and_pathname): Use dirfd if _GLIBCXX_HAVE_OPENAT.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions