diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2010-09-08 18:50:14 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2010-09-08 18:50:14 (GMT) |
commit | bd56626a4ad06d43c896c59c2065a3fd1cd3b73a (patch) | |
tree | a19cad763162fa1dcda4af3249ea001b2d20e023 /Utilities/cmlibarchive/libarchive/archive.h | |
parent | 409c936ff44eb6aa82c052dc223adaa630242b23 (diff) | |
download | CMake-bd56626a4ad06d43c896c59c2065a3fd1cd3b73a.zip CMake-bd56626a4ad06d43c896c59c2065a3fd1cd3b73a.tar.gz CMake-bd56626a4ad06d43c896c59c2065a3fd1cd3b73a.tar.bz2 |
Fixes for the OSF operating system build.
Diffstat (limited to 'Utilities/cmlibarchive/libarchive/archive.h')
-rw-r--r-- | Utilities/cmlibarchive/libarchive/archive.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive.h b/Utilities/cmlibarchive/libarchive/archive.h index 9d84121..9b918a8 100644 --- a/Utilities/cmlibarchive/libarchive/archive.h +++ b/Utilities/cmlibarchive/libarchive/archive.h @@ -37,7 +37,7 @@ */ #if defined(__BORLANDC__) && __BORLANDC__ >= 0x560 # define __LA_STDINT_H <stdint.h> -#elif !defined(__WATCOMC__) && !defined(_MSC_VER) && !defined(__INTERIX) && !defined(__BORLANDC__) +#elif !defined(__WATCOMC__) && !defined(_MSC_VER) && !defined(__INTERIX) && !defined(__BORLANDC__) && !defined(__osf__) # define __LA_STDINT_H <inttypes.h> #endif @@ -68,7 +68,11 @@ # endif #else #include <unistd.h> /* ssize_t, uid_t, and gid_t */ -#define __LA_INT64_T int64_t +#if defined(__osf__) +# define __LA_INT64_T long long +#else +# define __LA_INT64_T int64_t +#endif #define __LA_SSIZE_T ssize_t #define __LA_UID_T uid_t #define __LA_GID_T gid_t |