From: Jouni Malinen Date: Sat, 10 Jan 2015 22:52:19 +0000 (+0200) Subject: Define host_to_le32() for Windows builds X-Git-Tag: hostap_2_4~454 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6dbbef9603f3d87ebebef9c1b4d017bdf6d95a97;p=thirdparty%2Fhostap.git 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 --- diff --git a/src/utils/common.h b/src/utils/common.h index d30ad761e..82a51e579 100644 --- a/src/utils/common.h +++ b/src/utils/common.h @@ -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)