From: charlet Date: Mon, 29 Aug 2005 13:07:05 +0000 (+0000) Subject: PR ada/23187 X-Git-Tag: upstream/4.9.2~58965 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8ae72caca7b48581bf5dc45f85684d00ed94499b;p=platform%2Fupstream%2Flinaro-gcc.git PR ada/23187 (GNAT_MAXPATH_LEN): Use default value if MAXPATHLEN is undefined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103600 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ada/adaint.c b/gcc/ada/adaint.c index e1453f7..d5543b9 100644 --- a/gcc/ada/adaint.c +++ b/gcc/ada/adaint.c @@ -263,7 +263,11 @@ const int __gnat_vmsp = 0; #include #endif +#ifdef MAXPATHLEN #define GNAT_MAX_PATH_LEN MAXPATHLEN +#else +#define GNAT_MAX_PATH_LEN 256 +#endif #endif