From: Reuben Thomas <rrt@sc3d.org>
To: bug-gnulib <bug-gnulib@gnu.org>
Subject: NAME_MAX on MingW
Date: Sun, 7 Mar 2021 23:22:49 +0000 [thread overview]
Message-ID: <CAOnWdohkuPrPFjcw-hz7LDYqoZS6bph0w0bwhaTVP3UCcxX8dg@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 557 bytes --]
NAME_MAX is defined in limits.h.
And indeed it is there on Mingw, but guarded by the Windows-specific
non-standard macro _POSIX_.
I found this suggestion that Windows system headers have not used _POSIX_
since MSVC 2013:
https://sourceforge.net/p/mingw-w64/mailman/message/33014416/
However, the macro is still used in the fixed system header with GCC 10 in
my bang-up-to-date Mingw installation.
I can't see this macro referenced anywhere in gnulib's history.
So my question is: is there something gnulib can/should do here?
--
https://rrt.sc3d.org
[-- Attachment #2: Type: text/html, Size: 1861 bytes --]
next reply other threads:[~2021-03-07 23:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-07 23:22 Reuben Thomas [this message]
2021-03-08 0:14 ` NAME_MAX on MingW Bruno Haible
2021-03-08 0:16 ` Reuben Thomas
2021-03-08 9:24 ` Reuben Thomas
2021-03-08 10:06 ` Bruno Haible
2021-03-08 10:12 ` Reuben Thomas
2021-03-08 9:12 ` Reuben Thomas
2021-03-08 9:56 ` Bruno Haible
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.gnu.org/mailman/listinfo/bug-gnulib
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAOnWdohkuPrPFjcw-hz7LDYqoZS6bph0w0bwhaTVP3UCcxX8dg@mail.gmail.com \
--to=rrt@sc3d.org \
--cc=bug-gnulib@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).