From: Juan Quintela Date: Mon, 27 Jul 2009 14:13:01 +0000 (+0200) Subject: rename HAVE_MACHINE_BSWAP_H to CONFIG_MACHINE_BSWAP_H X-Git-Tag: TizenStudio_2.0_p2.3~8171 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b7bfe178feaf03fec0e72e636a7940edbbd167eb;p=sdk%2Femulator%2Fqemu.git rename HAVE_MACHINE_BSWAP_H to CONFIG_MACHINE_BSWAP_H Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori --- diff --git a/bswap.h b/bswap.h index 1dd357e..864bbeb 100644 --- a/bswap.h +++ b/bswap.h @@ -5,7 +5,7 @@ #include -#ifdef HAVE_MACHINE_BSWAP_H +#ifdef CONFIG_MACHINE_BSWAP_H #include #include #include @@ -64,7 +64,7 @@ static inline uint64_t bswap64(uint64_t x) return bswap_64(x); } -#endif /* ! HAVE_MACHINE_BSWAP_H */ +#endif /* ! CONFIG_MACHINE_BSWAP_H */ static inline void bswap16s(uint16_t *s) { diff --git a/configure b/configure index 7a46c96..61f4c78 100755 --- a/configure +++ b/configure @@ -1550,7 +1550,7 @@ EOF int main(void) { return bswap32(0); } EOF if $cc $ARCH_CFLAGS -o $TMPE $TMPC >/dev/null 2> /dev/null ; then - echo "#define HAVE_MACHINE_BSWAP_H 1" >> $config_host_h + echo "#define CONFIG_MACHINE_BSWAP_H 1" >> $config_host_h fi fi