Subject: Re: [Mingw32] Missing macro definitions
From: [email-masked] (Earnie Boyd)

1 May 1998 17:16:58 -0700
Message-ID: <[email-masked]>
Content-Type: text/plain
To: [email-masked]
Cc: [email-masked]

>Date: Fri, 1 May 1998 12:35:44 -0500 (CDT)
>From: Mumit Khan <[email-masked]>
>To: Earnie Boyd <[email-masked]>
>Subject: Re: [Mingw32] Missing macro definitions
>
<snip>
>These are defined in <stdlib.h> supplied with mingw32 egcs-1.0.2.
>
>  #ifndef __STRICT_ANSI__
>
>  #ifndef MAX_PATH
>  #define MAX_PATH        (260)
>  #endif
>
>  #define _MAX_PATH       MAX_PATH
>  #define _MAX_DRIVE      (3)
>  #define _MAX_DIR        _MAX_PATH
>  #define _MAX_FNAME      _MAX_PATH

Based on the VC++ 5.0 Run-Time Library Reference, pp: 252,
"_MAX_FNAME is defined in STDLIB.H as 256 bytes".  I found this after I 
posted BTW.

This makes since if _MAX_DRIVE is (3) then 
3 (DRIVE) + 256 (FNAME) + 1 (NULL) = 260 (_MAX_PATH) 

-        \\||//
---o0O0--Earnie--0O0o----
[email-masked]
------ooo0O--O0ooo-------

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".