Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
X-Apparently-From: <earnie?boyd@yahoo.com>
Message-ID: <3A59FCF7.570F337A@yahoo.com>
Date: Mon, 08 Jan 2001 12:46:31 -0500
From: Earnie Boyd <earnie_boyd@yahoo.com>
Reply-To: "cygwin@cygwin.com" <cygwin@cygwin.com>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: perl-5.6.1 DB_file support
References: <3A5605B3.AAC25D7F@sbox.tu-graz.ac.at> <3A59255F.85918DE8@sbox.tu-graz.ac.at> <3A5966E5.735999FE@ece.gatech.edu> <3A59C529.4342E4D4@yahoo.com> <un1d2aybf.fsf@work1.work.maz.net> <3A59DF65.353364C2@yahoo.com> <20010108105732.A18692@redhat.com> <3A59F800.3E947DD4@yahoo.com> <20010108123346.B31528@redhat.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Christopher Faylor wrote:
> 
> On Mon, Jan 08, 2001 at 12:25:20PM -0500, Earnie Boyd wrote:
> 
> >My statement that if _WIN32 is defined, then I should expect that
> >standard Win32 definitions also be defined still stands.  MAX_PATH is
> >just an example of one of those definitions.
> 
> MAX_PATH *is* defined.  It is in /cygnus/i686-pc-cygwin/include/w32api/windef.h.
> 
> The code in /usr/include/sys/cygwin.h is only used when WINVER is
> defined.  WINVER is also defined in windef.h, although the real intent
> is that the sys/cygwin.h include file should be preceded by an '#include
> <windows.h>' if you are attempting to use any of the stuff controlled by
> the '#ifdef WINVER' conditional.  Besides "MAX_PATH", there are also
> other Windows-specific constructs inside this conditional block like
> "HANDLE", and "DWORD".
> 

Great.  Now let's stop picking on cygwin.h.  ;)

Cheers,
Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

