From: earnie_boyd AT hotmail DOT com (Earnie Boyd) Subject: Re: [Mingw32] Missing macro definitions 1 May 1998 17:16:58 -0700 Message-ID: <19980501185616.8530.qmail.cygnus.gnu-win32@hotmail.com> Content-Type: text/plain To: khan AT xraylith DOT wisc DOT edu Cc: gnu-win32 AT cygnus DOT com >Date: Fri, 1 May 1998 12:35:44 -0500 (CDT) >From: Mumit Khan >To: Earnie Boyd >Subject: Re: [Mingw32] Missing macro definitions > >These are defined in 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---- -earnie_boyd AT hotmail DOT com- ------ooo0O--O0ooo------- ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".