summaryrefslogtreecommitdiffstats
path: root/Utilities/cmliblzma/common
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-08-06 14:03:10 (GMT)
committerBrad King <brad.king@kitware.com>2018-08-06 14:23:01 (GMT)
commit83215720fb775cec3fce014307378594d88336d9 (patch)
tree678a2b1c4c4c4a96aa109f04a121cafb5e66aba5 /Utilities/cmliblzma/common
parent6166adfdd40954767f3c4e40da502285ed16a9b1 (diff)
downloadCMake-83215720fb775cec3fce014307378594d88336d9.zip
CMake-83215720fb775cec3fce014307378594d88336d9.tar.gz
CMake-83215720fb775cec3fce014307378594d88336d9.tar.bz2
liblzma: Name sizeof size_t macro consistently with upstream
Diffstat (limited to 'Utilities/cmliblzma/common')
-rw-r--r--Utilities/cmliblzma/common/sysdefs.h4
1 files changed, 2 insertions, 2 deletions
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