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
To: perl5-porters@perl.org, cygwin@sources.redhat.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>
From: Benjamin Riefenstahl <Benjamin.Riefenstahl@ision.net>
Date: 08 Jan 2001 17:29:02 +0100
In-Reply-To: Earnie Boyd's message of "Mon, 08 Jan 2001 10:40:21 -0500"
Message-ID: <u8zomatyp.fsf@work1.work.maz.net>
Lines: 27
User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

> Benjamin Riefenstahl wrote:
> > MAX_PATH OTOH seems to be an MS Windows invention and is not in any
> > standard, or is it?

Earnie Boyd <earnie_boyd@yahoo.com> writes:
> Well, it is a MS Windows standard.

Than it should be in the MS Windows headers (which it is, I suppose. I
haven't MingW installed currently to check).  No problem with that.
Microsoft's Platform SDK has MAX_PATH in <windef.h> which seems
sensible.

> And if _WIN32 is defined shouldn't I expect to find a Win32 standard
> definition such as MAX_PATH and _MAX_PATH defined?  Even Cygwin
> itself uses MAX_PATH, E.G.: /usr/include/sys/cygwin.h.

The code in question is covered by an "#ifdef WINVER" so it's only
included for programs that have included <windows.h> or <windef.h>
before <cygwin.h>.
-- 
ISION Internet AG
Benjamin Riefenstahl
mailto:benjamin.riefenstahl@ision.net

Harburger Schlossstr. 1
D-21079 Hamburg
http://www.ision.net


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

