mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 08:48:31 -05:00
Define host_to_le32() for Windows builds
This define had been forgotten at some point in time and wpa_supplicant compilation for Windows failed with some recently added code that depended on this. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
7d28e46a6c
commit
6dbbef9603
@ -164,6 +164,7 @@ static inline unsigned int wpa_swap_32(unsigned int v)
|
||||
#define be_to_host16(n) wpa_swap_16(n)
|
||||
#define host_to_be16(n) wpa_swap_16(n)
|
||||
#define le_to_host32(n) (n)
|
||||
#define host_to_le32(n) (n)
|
||||
#define be_to_host32(n) wpa_swap_32(n)
|
||||
#define host_to_be32(n) wpa_swap_32(n)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user