diff options
author | Brad King <brad.king@kitware.com> | 2015-12-17 20:03:42 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-12-18 15:02:07 (GMT) |
commit | 036b6ef7c47ccb19f291d2f36df37aaf885b4ba8 (patch) | |
tree | d6072e0a2d63c5bcb2663d5b4582f521737bd93a /Source/cm_sha2.c | |
parent | 12293371ee0f3b930afee8d328415968eb8201e6 (diff) | |
download | CMake-036b6ef7c47ccb19f291d2f36df37aaf885b4ba8.zip CMake-036b6ef7c47ccb19f291d2f36df37aaf885b4ba8.tar.gz CMake-036b6ef7c47ccb19f291d2f36df37aaf885b4ba8.tar.bz2 |
Port CMake from cmIML to KWIML
KWIML no longer uses a configured prefix.
Diffstat (limited to 'Source/cm_sha2.c')
-rw-r--r-- | Source/cm_sha2.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/Source/cm_sha2.c b/Source/cm_sha2.c index b90e060..649c39a 100644 --- a/Source/cm_sha2.c +++ b/Source/cm_sha2.c @@ -87,22 +87,21 @@ * made). */ #if !defined(BYTE_ORDER) || (BYTE_ORDER != LITTLE_ENDIAN && BYTE_ORDER != BIG_ENDIAN) -/* CMake modification: use byte order from cmIML. */ -# include "cmIML/ABI.h" +/* CMake modification: use byte order from KWIML. */ # undef BYTE_ORDER # undef BIG_ENDIAN # undef LITTLE_ENDIAN -# define BYTE_ORDER cmIML_ABI_ENDIAN_ID -# define BIG_ENDIAN cmIML_ABI_ENDIAN_ID_BIG -# define LITTLE_ENDIAN cmIML_ABI_ENDIAN_ID_LITTLE +# define BYTE_ORDER KWIML_ABI_ENDIAN_ID +# define BIG_ENDIAN KWIML_ABI_ENDIAN_ID_BIG +# define LITTLE_ENDIAN KWIML_ABI_ENDIAN_ID_LITTLE #endif /* CMake modification: use types computed in header. */ typedef cm_sha2_uint8_t sha_byte; /* Exactly 1 byte */ typedef cm_sha2_uint32_t sha_word32; /* Exactly 4 bytes */ typedef cm_sha2_uint64_t sha_word64; /* Exactly 8 bytes */ -#define SHA_UINT32_C(x) cmIML_INT_UINT32_C(x) -#define SHA_UINT64_C(x) cmIML_INT_UINT64_C(x) +#define SHA_UINT32_C(x) KWIML_INT_UINT32_C(x) +#define SHA_UINT64_C(x) KWIML_INT_UINT64_C(x) #if defined(__clang__) # pragma clang diagnostic ignored "-Wcast-align" #endif |