Revision: 14578
Author: adrian.chadd
Date: Sat Apr 10 19:59:18 2010
Log: Issue #94 portability fixes:
* don't compile the socketpair() paths for windows native
* include the WIN32_pipe definition for windows native
http://code.google.com/p/lusca-cache/source/detail?r=14578
Modified:
/branches/LUSCA_HEAD/libiapp/comm.c
=======================================
--- /branches/LUSCA_HEAD/libiapp/comm.c Wed Mar 24 20:34:17 2010
+++ /branches/LUSCA_HEAD/libiapp/comm.c Sat Apr 10 19:59:18 2010
@@ -82,6 +82,9 @@
#include "../libstat/StatHist.h"
+#ifdef _SQUID_MSWIN_
+#include "win32_pipe.h"
+#endif
#include "iapp_ssl.h"
#include "globals.h"
#include "fd_types.h"
@@ -1626,6 +1629,7 @@
return 1;
}
+#ifndef _SQUID_MSWIN_
int
comm_create_unix_stream_pair(int *prfd, int *pwfd, int *crfd, int *cwfd,
int buflen)
{
@@ -1666,3 +1670,4 @@
return 1;
}
+#endif
--
You received this message because you are subscribed to the Google Groups
"lusca-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/lusca-commit?hl=en.