Alexandre Julliard : rpcrt4: Disable HTTP support if we don' t have socketpair and related networking functions.
Alexandre Julliard
julliard at winehq.org
Thu Mar 26 11:05:46 CDT 2009
Module: wine
Branch: master
Commit: ce3ce9be8f085197a6a8a44b417ecef4ff9b9272
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ce3ce9be8f085197a6a8a44b417ecef4ff9b9272
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu Mar 26 14:02:01 2009 +0100
rpcrt4: Disable HTTP support if we don't have socketpair and related networking functions.
---
dlls/rpcrt4/rpc_transport.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/dlls/rpcrt4/rpc_transport.c b/dlls/rpcrt4/rpc_transport.c
index 9e4186c..e308564 100644
--- a/dlls/rpcrt4/rpc_transport.c
+++ b/dlls/rpcrt4/rpc_transport.c
@@ -1414,8 +1414,6 @@ static int rpcrt4_protseq_sock_wait_for_new_connection(RpcServerProtseq *protseq
return 1;
}
-#endif /* HAVE_SOCKETPAIR */
-
static RPC_STATUS rpcrt4_ncacn_ip_tcp_parse_top_of_tower(const unsigned char *tower_data,
size_t tower_size,
char **networkaddr,
@@ -2364,6 +2362,7 @@ static RPC_STATUS rpcrt4_ncacn_http_parse_top_of_tower(const unsigned char *towe
networkaddr, EPM_PROTOCOL_HTTP,
endpoint);
}
+#endif /* HAVE_SOCKETPAIR */
static const struct connection_ops conn_protseq_list[] = {
{ "ncacn_np",
@@ -2409,7 +2408,6 @@ static const struct connection_ops conn_protseq_list[] = {
rpcrt4_ncacn_ip_tcp_parse_top_of_tower,
NULL,
},
-#endif
{ "ncacn_http",
{ EPM_PROTOCOL_NCACN, EPM_PROTOCOL_HTTP },
rpcrt4_ncacn_http_alloc,
@@ -2424,6 +2422,7 @@ static const struct connection_ops conn_protseq_list[] = {
rpcrt4_ncacn_http_parse_top_of_tower,
rpcrt4_ncacn_http_receive_fragment,
},
+#endif
};
More information about the wine-cvs
mailing list