From a55fb98d0a6a52c1531bbbd02b3bd7a8b95d00fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98rjan=20Malde?= Date: Sat, 16 Nov 2019 16:07:12 +0100 Subject: [PATCH] LibC: fix arpa/inet.h guards --- Libraries/LibC/arpa/inet.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Libraries/LibC/arpa/inet.h b/Libraries/LibC/arpa/inet.h index ccb2650436f..435bb1c59b7 100644 --- a/Libraries/LibC/arpa/inet.h +++ b/Libraries/LibC/arpa/inet.h @@ -13,7 +13,7 @@ int inet_pton(int af, const char* src, void* dst); inline uint16_t htons(uint16_t value) { -#if BYTE_ORDER == LITTLE_ENDIAN +#if __BYTE_ORDER == __LITTLE_ENDIAN return __builtin_bswap16(value); #else return value; @@ -27,7 +27,7 @@ inline uint16_t ntohs(uint16_t value) inline uint32_t htonl(uint32_t value) { -#if BYTE_ORDER == LITTLE_ENDIAN +#if __BYTE_ORDER == __LITTLE_ENDIAN return __builtin_bswap32(value); #else return value;