This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Thu, Nov 1, 2012 at 11:44 AM, Roland McGrath <mcgrathr@google.com> wrote: > // Mingw does not define F_SETFD. > #ifdef F_SETFD > fcntl(fd, F_SETFD, FD_CLOEXEC); > +#else > + (void) fd; > #endif > } No, use ATTRIBUTE_UNUSED. See, e.g., mremap.c. That patch is preapproved. Ian
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |