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 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: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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