Browse Source

Define host_to_le64() for Windows builds

Signed-off-by: Jouni Malinen <j@w1.fi>
Jouni Malinen 7 years ago
parent
commit
9ec0dfa31f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/utils/common.h

+ 1 - 0
src/utils/common.h

@@ -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