diff options
author | Brad King <brad.king@kitware.com> | 2018-08-06 14:03:10 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-08-06 14:23:01 (GMT) |
commit | 83215720fb775cec3fce014307378594d88336d9 (patch) | |
tree | 678a2b1c4c4c4a96aa109f04a121cafb5e66aba5 /Utilities/cmliblzma | |
parent | 6166adfdd40954767f3c4e40da502285ed16a9b1 (diff) | |
download | CMake-83215720fb775cec3fce014307378594d88336d9.zip CMake-83215720fb775cec3fce014307378594d88336d9.tar.gz CMake-83215720fb775cec3fce014307378594d88336d9.tar.bz2 |
liblzma: Name sizeof size_t macro consistently with upstream
Diffstat (limited to 'Utilities/cmliblzma')
-rw-r--r-- | Utilities/cmliblzma/CMakeLists.txt | 2 | ||||
-rw-r--r-- | Utilities/cmliblzma/common/sysdefs.h | 4 | ||||
-rw-r--r-- | Utilities/cmliblzma/config.h.in | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/Utilities/cmliblzma/CMakeLists.txt b/Utilities/cmliblzma/CMakeLists.txt index bb3b8a7..17cbaf5 100644 --- a/Utilities/cmliblzma/CMakeLists.txt +++ b/Utilities/cmliblzma/CMakeLists.txt @@ -95,7 +95,7 @@ CHECK_TYPE_SIZE("unsigned short" SIZE_OF_UNSIGNED_SHORT) CHECK_TYPE_SIZE("unsigned" SIZE_OF_UNSIGNED) CHECK_TYPE_SIZE("unsigned long" SIZE_OF_UNSIGNED_LONG) CHECK_TYPE_SIZE("unsigned long long" SIZE_OF_UNSIGNED_LONG_LONG) -CHECK_TYPE_SIZE("size_t" SIZE_OF_SIZE_T) +CHECK_TYPE_SIZE("size_t" SIZEOF_SIZE_T) CHECK_TYPE_SIZE("__int64" __INT64) CHECK_TYPE_SIZE("unsigned __int64" UNSIGNED___INT64) diff --git a/Utilities/cmliblzma/common/sysdefs.h b/Utilities/cmliblzma/common/sysdefs.h index a6edea8..c84f01c 100644 --- a/Utilities/cmliblzma/common/sysdefs.h +++ b/Utilities/cmliblzma/common/sysdefs.h @@ -124,9 +124,9 @@ // The code currently assumes that size_t is either 32-bit or 64-bit. #ifndef SIZE_MAX -# if SIZE_OF_SIZE_T == 4 +# if SIZEOF_SIZE_T == 4 # define SIZE_MAX UINT32_MAX -# elif SIZE_OF_SIZE_T == 8 +# elif SIZEOF_SIZE_T == 8 # define SIZE_MAX UINT64_MAX # else # error size_t is not 32-bit or 64-bit diff --git a/Utilities/cmliblzma/config.h.in b/Utilities/cmliblzma/config.h.in index 7ad70c6..84328a3 100644 --- a/Utilities/cmliblzma/config.h.in +++ b/Utilities/cmliblzma/config.h.in @@ -29,7 +29,7 @@ @SIZE_OF_UNSIGNED_CODE@ @SIZE_OF_UNSIGNED_LONG_CODE@ @SIZE_OF_UNSIGNED_LONG_LONG_CODE@ -@SIZE_OF_SIZE_T_CODE@ +@SIZEOF_SIZE_T_CODE@ /* * If we lack int64_t, define it to the first of __int64, int, long, and long long |