--- a/libpurple/win32/libc_interface.h Sat Feb 13 03:58:05 2021 -0600
+++ b/libpurple/win32/libc_interface.h Sat Feb 13 13:06:09 2021 -0600
@@ -60,10 +60,6 @@
#define gethostname( name, size ) \
wpurple_gethostname( name, size )
-#define gettimeofday( timeval, timezone ) \
-wpurple_gettimeofday( timeval, timezone )
#if !defined(__MINGW64_VERSION_MAJOR) || __MINGW64_VERSION_MAJOR < 3 || \
!defined(IS_WIN32_CROSS_COMPILED)
--- a/libpurple/win32/libc_internal.h Sat Feb 13 03:58:05 2021 -0600
+++ b/libpurple/win32/libc_internal.h Sat Feb 13 13:06:09 2021 -0600
@@ -38,47 +38,6 @@
- char ifrn_name[6]; /* Interface name, e.g. "en0". */
- struct sockaddr ifru_addr;
-# define ifr_name ifr_ifrn.ifrn_name /* interface name */
-# define ifr_addr ifr_ifru.ifru_addr /* address */
-# define ifr_data ifr_ifru.ifru_data /* for use by interface */
- int ifc_len; /* Size of buffer. */
- struct ifreq *ifcu_req;
-# define ifc_buf ifc_ifcu.ifcu_buf /* Buffer address. */
-# define ifc_req ifc_ifcu.ifcu_req /* Array of structures. */
-#if __MINGW32_MAJOR_VERSION < 3 || (__MINGW32_MAJOR_VERSION == 3 && __MINGW32_MINOR_VERSION < 10)
-int wpurple_gettimeofday(struct timeval *p, struct timezone *z);
int wpurple_gethostname(char *name, size_t size);