X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-3.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Bert Subject: Re: IOCTL using Date: Thu, 12 Mar 2009 15:25:45 +0000 (UTC) Lines: 19 Message-ID: References: <20090312083353 DOT GB14431 AT calimero DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) 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 > > > > > > I hope I'm doing something really dumb, any tips? > > > > Yes. You're mixing POSIX calls with Windows defines. That's a no-no. > > When you're in Rome, talk like the Romans do. > > > > Many thanks Corinna. If I understand you correctly, "talk like the Romans" > means "just make everything pure POSIX calls", right? > Ah wait, the fog is slowly clearing - I just found ... I think I'm starting to get it: You can use cygwin/gcc to compile for both POSIX and windoze, and both sets of libraries and headers are available in one seriously powerful library. Bert -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/