This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: perl-5.6.1 DB_file support


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]