Browse Source

enable to be compiled in cygwin

pull/4/merge
Max Lv 12 years ago
parent
commit
2485548438
2 changed files with 5 additions and 1 deletions
  1. 2
      configure.ac
  2. 4
      local.c

2
configure.ac

@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.68])
AC_INIT([libev-hello], [0.1], [clowwindy42@gmail.com])
AC_INIT([shadowsocks], [0.9], [clowwindy42@gmail.com|max.c.lv@gmail.com])
AC_CONFIG_SRCDIR([encrypt.c])
AC_CONFIG_HEADERS([config.h])

4
local.c

@ -29,6 +29,10 @@
#define MSG_NOSIGNAL MSG_HAVEMORE
#endif
#ifndef EAGAIN
#define EAGAIN EWOULDBLOCK
#endif
#define min(a,b) (((a)<(b))?(a):(b))
static char *_server;

Loading…
Cancel
Save