enable to be compiled in cygwin

This commit is contained in:
Max Lv
2013-01-04 09:44:22 +08:00
parent 545be6d43d
commit 2485548438
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -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
View File
@@ -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;