diff options
author | Brad King <brad.king@kitware.com> | 2016-11-03 15:15:19 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-11-10 13:26:54 (GMT) |
commit | 53048afa8dc24327d82a1ff0f78801e1f344a4b6 (patch) | |
tree | fff00aff401fe55e08d9371a194735a0eaf4980c /Utilities/cmlibrhash/librhash/byte_order.h | |
parent | 5cb1b345d932d3e0dc34a2d423894a59a6c8db35 (diff) | |
download | CMake-53048afa8dc24327d82a1ff0f78801e1f344a4b6.zip CMake-53048afa8dc24327d82a1ff0f78801e1f344a4b6.tar.gz CMake-53048afa8dc24327d82a1ff0f78801e1f344a4b6.tar.bz2 |
librhash: Remove source fragments not needed for CMake
We only need a subset of the hash algorithms supported by librhash.
Add preprocessor conditionals to remove source fragments that we do
not need. Write an alternative algorithm enumeration that matches
the indexing on our reduced array.
Also remove a few fragments outright.
Diffstat (limited to 'Utilities/cmlibrhash/librhash/byte_order.h')
-rw-r--r-- | Utilities/cmlibrhash/librhash/byte_order.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Utilities/cmlibrhash/librhash/byte_order.h b/Utilities/cmlibrhash/librhash/byte_order.h index 77b8bb9..59a6c23 100644 --- a/Utilities/cmlibrhash/librhash/byte_order.h +++ b/Utilities/cmlibrhash/librhash/byte_order.h @@ -4,10 +4,6 @@ #include "ustd.h" #include <stdlib.h> -#ifdef IN_RHASH -#include "config.h" -#endif - #ifdef __GLIBC__ # include <endian.h> #endif |