~roger-booth/mysql-proxy/laminator

« back to all changes in this revision

Viewing changes to src/network-socket.h

  • Committer: Kay Roepke
  • Date: 2009-06-11 21:16:12 UTC
  • Revision ID: kay@sun.com-20090611211612-wyk8bg73vkx9u1qp
add internal libevent build cmake files
fix inet_ntop usage on pre-vista windows
don't blindly #define socklen_t on win32
correct cmake check for g_thread_init
copy lua dll on windows

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
#define closesocket(x) close(x)
52
52
#else
53
53
#include <winsock2.h>
54
 
 
55
 
#define socklen_t int
 
54
#include <Ws2tcpip.h>
56
55
#endif
57
56
#include <glib.h>
58
57
#include <event.h>