[prev in list] [next in list] [prev in thread] [next in thread]
List: libguestfs
Subject: [Libguestfs] [PATCH hivex 07/14] maint: remove now-unnecessary #ifdef HAVE_BYTESWAP_H guard
From: Jim Meyering <jim () meyering ! net>
Date: 2011-06-28 18:09:50
Message-ID: 1309284598-1515-7-git-send-email-jim () meyering ! net
[Download RAW message or body]
From: Jim Meyering <meyering@redhat.com>
* 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.
---
bootstrap | 1 +
lib/byte_conversions.h | 2 --
2 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/bootstrap b/bootstrap
index 638d230..79b6717 100755
--- a/bootstrap
+++ b/bootstrap
@@ -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
--
1.7.6.rc2.302.gc2115
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic