diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-12-28 19:58:07 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-12-28 19:58:07 (GMT) |
commit | 18d31fd97c3305b54a6d1d56b6ef8600089ef6da (patch) | |
tree | fad65ce7d2ba37095405c27df79a9c7a5883f448 /Utilities/cmtar/compat/compat.h | |
parent | d715d52a11fbcbc3310412ae7c7ec1e71e5bcbed (diff) | |
download | CMake-18d31fd97c3305b54a6d1d56b6ef8600089ef6da.zip CMake-18d31fd97c3305b54a6d1d56b6ef8600089ef6da.tar.gz CMake-18d31fd97c3305b54a6d1d56b6ef8600089ef6da.tar.bz2 |
COMP: Several borland fixes
Diffstat (limited to 'Utilities/cmtar/compat/compat.h')
-rw-r--r-- | Utilities/cmtar/compat/compat.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Utilities/cmtar/compat/compat.h b/Utilities/cmtar/compat/compat.h index 880f54b..f308b99 100644 --- a/Utilities/cmtar/compat/compat.h +++ b/Utilities/cmtar/compat/compat.h @@ -312,3 +312,12 @@ char *strsep(register char **, register const char *); #endif #define S_ISFIFO(m) (((m)&S_IFFIFO)==S_IFFIFO) #endif + +#if defined(PATH_MAX) +# define TAR_MAXPATHLEN PATH_MAX +#elif defined(MAXPATHLEN) +# define TAR_MAXPATHLEN MAXPATHLEN +#else +# define TAR_MAXPATHLEN 16384 +#endif + |