diff options
author | Jim Meyering <meyering@redhat.com> | 2011-06-28 20:09:50 +0200 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-06-28 23:30:12 +0100 |
commit | ae748799b816aadc200ccbada1bed3b3ce13bd5c (patch) | |
tree | 4887bc69e8eefcc3c79adcfa8dcfb5ef64bbfa15 | |
parent | 2602a526e1cd9fd0f81d33e331e0911edece3685 (diff) | |
download | hivex-ae748799b816aadc200ccbada1bed3b3ce13bd5c.tar.gz hivex-ae748799b816aadc200ccbada1bed3b3ce13bd5c.tar.xz hivex-ae748799b816aadc200ccbada1bed3b3ce13bd5c.zip |
maint: remove now-unnecessary #ifdef HAVE_BYTESWAP_H guard
* lib/byte_conversions.h: Remove #ifdef HAVE_BYTESWAP_H guard.
With gnulib, we're guaranteed to have that header file.
* bootstrap (modules): Use the byteswap module.
-rwxr-xr-x | bootstrap | 1 | ||||
-rw-r--r-- | lib/byte_conversions.h | 2 |
2 files changed, 1 insertions, 2 deletions
@@ -55,6 +55,7 @@ gnulib_tool=$GNULIB_SRCDIR/gnulib-tool <$gnulib_tool || exit modules=' +byteswap c-ctype fcntl full-read diff --git a/lib/byte_conversions.h b/lib/byte_conversions.h index 84e9e2d..aa4ffe6 100644 --- a/lib/byte_conversions.h +++ b/lib/byte_conversions.h @@ -18,9 +18,7 @@ #ifdef HAVE_ENDIAN_H #include <endian.h> #endif -#ifdef HAVE_BYTESWAP_H #include <byteswap.h> -#endif #if __BYTE_ORDER == __LITTLE_ENDIAN #ifndef be32toh |