delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/08/11:29:58

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
To: perl5-porters AT perl DOT org, cygwin AT sources DOT redhat DOT com
Subject: Re: perl-5.6.1 DB_file support
References: <3A5605B3 DOT AAC25D7F AT sbox DOT tu-graz DOT ac DOT at> <3A59255F DOT 85918DE8 AT sbox DOT tu-graz DOT ac DOT at> <3A5966E5 DOT 735999FE AT ece DOT gatech DOT edu> <3A59C529 DOT 4342E4D4 AT yahoo DOT com> <un1d2aybf DOT fsf AT work1 DOT work DOT maz DOT net> <3A59DF65 DOT 353364C2 AT yahoo DOT com>
From: Benjamin Riefenstahl <Benjamin DOT Riefenstahl AT ision DOT 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

> 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 AT yahoo DOT 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 DOT riefenstahl AT ision DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019