Browse files

bug 2337, moved MOXI_BLOCKING_CONNECT definition

Moved to a place where windows can find it, as windows builder doesn't
appear to use config_static.h.

Change-Id: Ibca5f1b07b025ed58945a1959648324febbe67b5
Reviewed-on: http://review.northscale.com/2419
Reviewed-by: Steve Yen <steve.yen@gmail.com>
Tested-by: Steve Yen <steve.yen@gmail.com>
  • Loading branch information...
1 parent 4804b58 commit 5c5feba9ac41e49d238e9720e1f36eb9b6ddecc6 @steveyen steveyen committed Sep 14, 2010
Showing with 8 additions and 8 deletions.
  1. +0 −8 config_static.h
  2. +8 −0 cproxy.c
View
8 config_static.h
@@ -93,12 +93,4 @@ struct iovec {
#define DEFAULT_ERRORLOG ERRORLOG_STDERR
#endif
-#ifndef MOXI_BLOCKING_CONNECT
-#ifdef WIN32
-#define MOXI_BLOCKING_CONNECT true
-#else
-#define MOXI_BLOCKING_CONNECT false
-#endif
-#endif
-
#endif
View
8 cproxy.c
@@ -13,6 +13,14 @@
#include "work.h"
#include "log.h"
+#ifndef MOXI_BLOCKING_CONNECT
+#ifdef WIN32
+#define MOXI_BLOCKING_CONNECT true
+#else
+#define MOXI_BLOCKING_CONNECT false
+#endif
+#endif
+
// Internal forward declarations.
//
downstream *downstream_list_remove(downstream *head, downstream *d);

0 comments on commit 5c5feba

Please sign in to comment.