diff options
Diffstat (limited to 'Utilities/cmlibarchive/CMakeLists.txt')
-rw-r--r-- | Utilities/cmlibarchive/CMakeLists.txt | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/Utilities/cmlibarchive/CMakeLists.txt b/Utilities/cmlibarchive/CMakeLists.txt index e92163b..6c2f524 100644 --- a/Utilities/cmlibarchive/CMakeLists.txt +++ b/Utilities/cmlibarchive/CMakeLists.txt @@ -477,9 +477,9 @@ CHECK_TYPE_SIZE("unsigned long long int" UNSIGNED_LONG_LONG_INT) # CHECK_TYPE_SIZE(dev_t DEV_T) IF(NOT HAVE_DEV_T) - IF(MSVC) + IF(MSVC OR BORLAND) SET(dev_t "unsigned int") - ENDIF(MSVC) + ENDIF(MSVC OR BORLAND) ENDIF(NOT HAVE_DEV_T) # CHECK_TYPE_SIZE(gid_t GID_T) @@ -502,30 +502,30 @@ ENDIF(NOT HAVE_ID_T) # CHECK_TYPE_SIZE(int64_t INT64_T) IF(NOT HAVE_INT64_T) - IF(MSVC) + IF(MSVC OR BORLAND) SET(int64_t __int64) - ENDIF(MSVC) + ENDIF(MSVC OR BORLAND) ENDIF(NOT HAVE_INT64_T) # CHECK_TYPE_SIZE(intmax_t INTMAX_T) IF(NOT HAVE_INTMAX_T) - IF(MSVC) - SET(intmax_t "long long") - ENDIF(MSVC) + IF(MSVC OR BORLAND) + SET(intmax_t "__int64") + ENDIF(MSVC OR BORLAND) ENDIF(NOT HAVE_INTMAX_T) # CHECK_TYPE_SIZE(mode_t MODE_T) IF(NOT HAVE_MODE_T) - IF(MSVC) + IF(MSVC OR BORLAND) SET(mode_t "unsigned short") - ELSE(MSVC) + ELSE(MSVC OR BORLAND) SET(mode_t "int") - ENDIF(MSVC) + ENDIF(MSVC OR BORLAND) ENDIF(NOT HAVE_MODE_T) # CHECK_TYPE_SIZE(off_t OFF_T) IF(NOT HAVE_OFF_T) - SET(off_t "long long") + SET(off_t "__int64") ENDIF(NOT HAVE_OFF_T) # CHECK_TYPE_SIZE(size_t SIZE_T) @@ -535,15 +535,15 @@ ENDIF(NOT HAVE_SIZE_T) # CHECK_TYPE_SIZE(ssize_t SSIZE_T) IF(NOT HAVE_SSIZE_T) - IF(MSVC) + IF(MSVC OR BORLAND) IF(CMAKE_CL_64) SET(ssize_t "__int64") ELSE(CMAKE_CL_64) SET(ssize_t "signed long") ENDIF(CMAKE_CL_64) - ELSE(MSVC) + ELSE(MSVC OR BORLAND) SET(ssize_t "int") - ENDIF(MSVC) + ENDIF(MSVC OR BORLAND) ENDIF(NOT HAVE_SSIZE_T) # CHECK_TYPE_SIZE(uid_t UID_T) @@ -557,36 +557,36 @@ ENDIF(NOT HAVE_UID_T) # CHECK_TYPE_SIZE(uint16_t UINT16_T) IF(NOT HAVE_UINT16_T) - IF(MSVC) + IF(MSVC OR BORLAND) SET(uint16_t "unsigned short") - ENDIF(MSVC) + ENDIF(MSVC OR BORLAND) ENDIF(NOT HAVE_UINT16_T) # CHECK_TYPE_SIZE(uint32_t UINT32_T) IF(NOT HAVE_UINT32_T) - IF(MSVC) + IF(MSVC OR BORLAND) SET(uint32_t "unsigned int") - ENDIF(MSVC) + ENDIF(MSVC OR BORLAND) ENDIF(NOT HAVE_UINT32_T) CHECK_TYPE_SIZE(int32_t INT32_T) IF(NOT HAVE_INT32_T) - IF(MSVC) + IF(MSVC OR BORLAND) SET(int32_t "int") - ENDIF(MSVC) + ENDIF(MSVC OR BORLAND) ENDIF(NOT HAVE_INT32_T) # CHECK_TYPE_SIZE(uint64_t UINT64_T) IF(NOT HAVE_UINT64_T) - IF(MSVC) + IF(MSVC OR BORLAND) SET(uint64_t "unsigned __int64") - ENDIF(MSVC) + ENDIF(MSVC OR BORLAND) ENDIF(NOT HAVE_UINT64_T) # CHECK_TYPE_SIZE(uintmax_t UINTMAX_T) IF(NOT HAVE_UINTMAX_T) - IF(MSVC) - SET(uintmax_t "unsigned long long") - ENDIF(MSVC) + IF(MSVC OR BORLAND) + SET(uintmax_t "unsigned __int64") + ENDIF(MSVC OR BORLAND) ENDIF(NOT HAVE_UINTMAX_T) # CHECK_TYPE_SIZE(wchar_t SIZEOF_WCHAR_T) |