mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-12 05:48:51 -04:00
fix a warning on freebsd;
svn:r114
This commit is contained in:
parent
06aaa92fe2
commit
d829ccea3d
2
kqueue.c
2
kqueue.c
@ -56,7 +56,7 @@
|
||||
#define log_error warn
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_INTTYPES_H) && !defined(__OpenBSD__)
|
||||
#if defined(HAVE_INTTYPES_H) && !defined(__OpenBSD__) && !defined(__FreeBSD__)
|
||||
#define INTPTR(x) (intptr_t)x
|
||||
#else
|
||||
#define INTPTR(x) x
|
||||
|
@ -535,9 +535,9 @@ main (int argc, char **argv)
|
||||
WORD wVersionRequested;
|
||||
WSADATA wsaData;
|
||||
int err;
|
||||
|
||||
|
||||
wVersionRequested = MAKEWORD( 2, 2 );
|
||||
|
||||
|
||||
err = WSAStartup( wVersionRequested, &wsaData );
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user