[libstdc++-v3] Add configure check for S_ISSOCK

Andris Pavenis andris.pavenis@iki.fi
Tue Nov 7 17:27:00 GMT 2017


src/filesystem/ops-common.c uses S_ISSOCK unconditionally without checking that it is available

As result compile fails for DJGPP when S_ISREG is available but S_ISSOCK is not. Included patch add 
configure check for S_ISSOCK

Andris

ChangeLog entry:

2017-11-07  Andris Pavenis<andris.pavenis.iki.fi>

     * acinclude.m4 (GLIBCXX_CHECK_S_ISSOCK): Define
     * configure.ac: Check presence of S_ISSOCK
     * src/filesystem/ops-common.h: Only use S_ISSOCK if defined for target
     * config.h.in: Regenerate
     * configure: Regenerate




-------------- next part --------------
A non-text attachment was scrubbed...
Name: libstdc++v3-check-for-S_ISSOCK.patch
Type: text/x-patch
Size: 5551 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20171107/e04d65a4/attachment.bin>


More information about the Libstdc++ mailing list