Define MAXPATHLEN only if not already define. This helps avoid
authorDanilo Almeida <dalmeida@mit.edu>
Tue, 10 Aug 1999 02:02:36 +0000 (02:02 +0000)
committerDanilo Almeida <dalmeida@mit.edu>
Tue, 10 Aug 1999 02:02:36 +0000 (02:02 +0000)
build warnings.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11638 dc483132-0cff-0310-8789-dd5450dbe970

src/include/ChangeLog
src/include/win-mac.h

index 453d67a5d1c8d5964a6db229efca18db30fc608e..0bb86a45359649a4b1554d184116b639da319441 100644 (file)
@@ -1,3 +1,8 @@
+1999-08-09  Danilo Almeida  <dalmeida@mit.edu>
+
+       * win-mac.h: Define MAXPATHLEN only if not already defined.  This
+       avoids warnings under Windows.
+
 1999-08-04  Danilo Almeida  <dalmeida@mit.edu>
 
        * k5-int.h: Keep invariant that profile_in_memory member of context
index d39e08b25e905c079742b39d064a2fba9742e369..e2d37e00f869689ef0bbcefd8a2188fb615a1bb9 100644 (file)
@@ -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