forked from enlightenment/efl
* 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. SVN revision: 68175
This commit is contained in:
parent
4f28f9c0ca
commit
7797585a07
|
@ -1,3 +1,12 @@
|
|||
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:
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
#include <Evil.h>
|
||||
|
||||
|
|
|
@ -45,8 +45,15 @@
|
|||
#define APICHAR char
|
||||
#include "evil_print.h"
|
||||
|
||||
#ifndef EMSGSIZE
|
||||
# define EMSGSIZE WSAEMSGSIZE
|
||||
#endif
|
||||
|
||||
# define SPRINTF(x) ((size_t)sprintf x)
|
||||
#ifndef EAFNOSUPPORT
|
||||
# define EAFNOSUPPORT WSAEAFNOSUPPORT
|
||||
#endif
|
||||
|
||||
#define SPRINTF(x) ((size_t)sprintf x)
|
||||
|
||||
#define ERRNO ((int)GetLastError())
|
||||
#define SET_ERRNO(x) (SetLastError((DWORD)(x)))
|
||||
|
|
Loading…
Reference in New Issue