From: Danilo Almeida Date: Tue, 10 Aug 1999 02:02:36 +0000 (+0000) Subject: Define MAXPATHLEN only if not already define. This helps avoid X-Git-Tag: krb5-1.2-beta1~306 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a56beac8949ed0df9e087932b4fa3900367dd6c1;p=krb5.git Define MAXPATHLEN only if not already define. This helps avoid build warnings. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11638 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/ChangeLog b/src/include/ChangeLog index 453d67a5d..0bb86a453 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,3 +1,8 @@ +1999-08-09 Danilo Almeida + + * win-mac.h: Define MAXPATHLEN only if not already defined. This + avoids warnings under Windows. + 1999-08-04 Danilo Almeida * k5-int.h: Keep invariant that profile_in_memory member of context diff --git a/src/include/win-mac.h b/src/include/win-mac.h index d39e08b25..e2d37e00f 100644 --- a/src/include/win-mac.h +++ b/src/include/win-mac.h @@ -100,7 +100,9 @@ typedef unsigned char u_char; #endif /* KRB5_SYSTYPES__ */ #define MAXHOSTNAMELEN 512 +#ifndef MAXPATHLEN #define MAXPATHLEN 256 /* Also for Windows temp files */ +#endif #define HAVE_NETINET_IN_H #define MSDOS_FILESYSTEM