~roger-booth/mysql-proxy/laminator

« back to all changes in this revision

Viewing changes to src/network-address.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:
38
38
#include <sys/socket.h>     /** struct sockaddr (freebsd and hp/ux need it) */
39
39
#else
40
40
#include <winsock2.h>
41
 
 
42
 
#define socklen_t int
 
41
#include <Ws2tcpip.h>
43
42
#endif
44
43
 
45
44
#include "network-exports.h"