[PATCH] cygwin: define PATH_MAX for host tools build
Jonathan Larmour
jifl@jifvik.org
Wed May 12 13:09:00 GMT 2010
Spencer Oliver wrote:
> cygwin: define PATH_MAX for host tools build
Wouldn't this be better in ecutils.cpp? It already has an ifdef __CYGWIN__
block for cygwin_conv_to_*_path() which is the same place PATH_MAX is used.
P.S. Don't forget a changelog entry.
Jifl
> ------------------------------------------------------------------------
>
> # HG changeset patch
> # User Spencer Oliver <spen@spen-soft.co.uk>
> # Date 1272975669 -3600
> # Node ID c0527a4c2b5e3f6fbe82ec4c3f7568e6caf17355
> # Parent c88d9f19de1aa679335bbec8b609e824d1fbd015
> cygwin: define PATH_MAX for host tools build
>
> diff -r c88d9f19de1a -r c0527a4c2b5e host/tools/Utils/common/eCosStd.h
> --- a/host/tools/Utils/common/eCosStd.h Tue May 04 13:19:54 2010 +0100
> +++ b/host/tools/Utils/common/eCosStd.h Tue May 04 13:21:09 2010 +0100
> @@ -52,6 +52,7 @@
>
> #include <malloc.h> // malloc
> #include <stdlib.h> // atoi
> + #include <limits.h> // PATH_MAX
> #include <errno.h>
> #define WOULDBLOCK WSAEWOULDBLOCK
>
--
------["The best things in life aren't things."]------ Opinions==mine
More information about the Ecos-patches
mailing list