]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Define host_to_le64() for Windows builds
authorJouni Malinen <j@w1.fi>
Sat, 17 Feb 2018 16:04:54 +0000 (18:04 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 17 Feb 2018 16:04:54 +0000 (18:04 +0200)
Signed-off-by: Jouni Malinen <j@w1.fi>
src/utils/common.h

index fec7f6013079e7fda0a1201f230bdb52b9ced0d2..f824d001aeab887baeb93bd108cbda0ce8c596b1 100644 (file)
@@ -150,6 +150,7 @@ static inline unsigned int wpa_swap_32(unsigned int v)
 #define host_to_le32(n) (n)
 #define be_to_host32(n) wpa_swap_32(n)
 #define host_to_be32(n) wpa_swap_32(n)
+#define host_to_le64(n) (n)
 
 #define WPA_BYTE_SWAP_DEFINED