aboutsummaryrefslogtreecommitdiff
path: root/bswap.h
diff options
context:
space:
mode:
Diffstat (limited to 'bswap.h')
-rw-r--r--bswap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bswap.h b/bswap.h
index 1dd357eb9d..864bbebf9b 100644
--- a/bswap.h
+++ b/bswap.h
@@ -5,7 +5,7 @@
#include <inttypes.h>
-#ifdef HAVE_MACHINE_BSWAP_H
+#ifdef CONFIG_MACHINE_BSWAP_H
#include <sys/endian.h>
#include <sys/types.h>
#include <machine/bswap.h>
@@ -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)
{