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/CMakeLists.txt | |
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/CMakeLists.txt')
-rw-r--r-- | Utilities/cmlibarchive/CMakeLists.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Utilities/cmlibarchive/CMakeLists.txt b/Utilities/cmlibarchive/CMakeLists.txt index e95935a..8c10b21 100644 --- a/Utilities/cmlibarchive/CMakeLists.txt +++ b/Utilities/cmlibarchive/CMakeLists.txt @@ -512,6 +512,8 @@ CHECK_TYPE_SIZE(int64_t INT64_T) IF(NOT HAVE_INT64_T) IF(WIN32) SET(int64_t "__int64") + ELSE(WIN32) + SET(int64_t "long long") ENDIF(WIN32) ENDIF(NOT HAVE_INT64_T) # @@ -568,9 +570,7 @@ ENDIF(NOT HAVE_UINT16_T) # CHECK_TYPE_SIZE(uint32_t UINT32_T) IF(NOT HAVE_UINT32_T) - IF(WIN32) - SET(uint32_t "unsigned int") - ENDIF(WIN32) + SET(uint32_t "unsigned int") ENDIF(NOT HAVE_UINT32_T) CHECK_TYPE_SIZE(int32_t INT32_T) IF(NOT HAVE_INT32_T) @@ -581,6 +581,8 @@ CHECK_TYPE_SIZE(uint64_t UINT64_T) IF(NOT HAVE_UINT64_T) IF(WIN32) SET(uint64_t "unsigned __int64") + ELSE(WIN32) + SET(uint64_t "unsigned long long") ENDIF(WIN32) ENDIF(NOT HAVE_UINT64_T) # |