From: Juan Quintela Date: Mon, 27 Jul 2009 14:13:03 +0000 (+0200) Subject: rename HAVE_BYTESWAP_H to CONFIG_BYTESWAP_H X-Git-Tag: TizenStudio_2.0_p2.3~8169 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=037a7679ba59e2feae73c602b6ca5b0265cdad28;p=sdk%2Femulator%2Fqemu.git rename HAVE_BYTESWAP_H to CONFIG_BYTESWAP_H Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori --- diff --git a/bswap.h b/bswap.h index 864bbeb..06de544 100644 --- a/bswap.h +++ b/bswap.h @@ -11,7 +11,7 @@ #include #else -#ifdef HAVE_BYTESWAP_H +#ifdef CONFIG_BYTESWAP_H #include #else @@ -47,7 +47,7 @@ (uint64_t)(((uint64_t)(__x) & (uint64_t)0xff00000000000000ULL) >> 56) )); \ }) -#endif /* !HAVE_BYTESWAP_H */ +#endif /* !CONFIG_BYTESWAP_H */ static inline uint16_t bswap16(uint16_t x) { diff --git a/configure b/configure index ac8273e..68dda0d 100755 --- a/configure +++ b/configure @@ -1541,7 +1541,7 @@ else int main(void) { return bswap_32(0); } EOF if $cc $ARCH_CFLAGS -o $TMPE $TMPC >/dev/null 2> /dev/null ; then - echo "#define HAVE_BYTESWAP_H 1" >> $config_host_h + echo "#define CONFIG_BYTESWAP_H 1" >> $config_host_h fi cat > $TMPC << EOF #include