Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3990E4BA.E763BF27@ece.gatech.edu> Date: Wed, 09 Aug 2000 00:57:30 -0400 From: "Charles S. Wilson" X-Mailer: Mozilla 4.7 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: cygwin AT sources DOT redhat DOT com CC: cygwin AT sourceware DOT cygnus DOT com Subject: Re: libodbccp32.a References: <20000809000052 DOT A29006 AT cygnus DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Chris Faylor wrote: > > > >Exactly right! Sometimes it takes someone else to state the obvious > >before I see the problem. Thanks Danny, Thanks Chris! > > I think you mean Chuck, not Chris. Whatever. 'sokay. > > >The only thing is that this build was looking picked up a reference to > >win32.h from perl.h. win32.h is not defined on a stock cygwin configuration, > >I actually edited perl.h but I guess a symlink to windows.h would be just as > >good. No. perl.h has the following stanza: #ifdef WIN32 # include "win32.h" #endif That's "win32.h", not . There's a file in /win32/win32.h, which is probably copied up to the toplevel during a win32-native configure. (I'm just guessing here) The correct fix is probably to replace the #ifdef statement with: #if defined(WIN32) && !defined(__CYGWIN__) But the presence of that #include "win32.h" has never cause me any build trouble; it's odd that it would only cause difficulties when building DBD::ODBC but not other modules. > > > >Should that be standard in cygwin? Should this be an issue for the perl > >porters? Or is this just another README! > > I don't know why perl is expecting win32.h but this is not a standard windows > header, AFAIK. I don't think that cygwin has ever had a win32.h, either. --Chuck -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com