Include sys/time.h
* src/lib/evil_inet.c:
EMSGSIZE and EAFNOSUPPORT could not be defined on
some MinGW compilers.
SVN revision: 68175
+2012-02-21 Vincent Torri <doursse at users dot sf dot net>
+
+ * src/bin/evil_test_gettimeofday.c:
+ Include sys/time.h
+
+ * src/lib/evil_inet.c:
+ EMSGSIZE and EAFNOSUPPORT could not be defined on
+ some MinGW compilers.
+
2012-02-18 Vincent Torri <doursse at users dot sf dot net>
* src/lib/Evil.h:
#include <string.h>
#include <math.h>
+#include <sys/time.h>
#include <Evil.h>
#define APICHAR char
#include "evil_print.h"
+#ifndef EMSGSIZE
+# define EMSGSIZE WSAEMSGSIZE
+#endif
+
+#ifndef EAFNOSUPPORT
+# define EAFNOSUPPORT WSAEAFNOSUPPORT
+#endif
-# define SPRINTF(x) ((size_t)sprintf x)
+#define SPRINTF(x) ((size_t)sprintf x)
#define ERRNO ((int)GetLastError())
#define SET_ERRNO(x) (SetLastError((DWORD)(x)))