| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4F67585C.5060605@gmail.com> |
| Date: | Mon, 19 Mar 2012 17:01:32 +0100 |
| From: | marco atzeri <marco DOT atzeri AT gmail DOT com> |
| User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120312 Thunderbird/11.0 |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: Attempt to build aplus-fsf-4.22 (EnumTable) |
| References: | <CABn7SNaBsAEnNg4j9yNQa+4E7iWCmCakRbzqHZi0dN8Ayr95PA AT mail DOT gmail DOT com> |
| In-Reply-To: | <CABn7SNaBsAEnNg4j9yNQa+4E7iWCmCakRbzqHZi0dN8Ayr95PA@mail.gmail.com> |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
On 3/19/2012 3:51 PM, Tom Szczesny wrote:
> Well, of course, you are correct. It did not work.
> It was like a sinkhole.
> For each header file that I included in the aplus source,
> an additional header file was required.
>
> You asked what definitions were initially required. They are:
>
> FIOCLEX
> FIONCLEX
> FIOSETOWN
> FIOGETOWN
> TIOCOUTQ
> TIOCSTI
>
> I assume from your question, that I should declare these
> variables in the source, rather than bring in the header files
> that the source is expecting.
>
Tom,
FYI, in the past the xmon maintainer used
this strategy, to overcome the lack of FIOCLEX/FIONCLEX
#if defined(SYSV) || defined(__CYGWIN__)
fcntl(ConnectionSocket, F_SETFD, FD_CLOEXEC);
#else
ioctl(ConnectionSocket, FIOCLEX, 0);
#endif
#if defined(SYSV) || defined(__CYGWIN__)
fcntl(ClientFD, F_SETFD, FD_CLOEXEC);
#else
ioctl(ClientFD, FIOCLEX, 0);
#endif
Regards
Marco
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |