mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 17:12:57 +00:00
[LIBTIRPC]
Fix MSVC build? svn path=/trunk/; revision=75097
This commit is contained in:
parent
4008c7e312
commit
080086f7e7
1 changed files with 8 additions and 1 deletions
|
@ -560,10 +560,14 @@ fatal_err:
|
|||
* Any error is fatal and the connection is closed.
|
||||
*/
|
||||
static int
|
||||
#ifdef __REACTOS__
|
||||
write_vc(xprtp, ptr, len)
|
||||
#else
|
||||
write_vc(xprtp, buf, len)
|
||||
#endif
|
||||
void *xprtp;
|
||||
#ifdef __REACTOS__
|
||||
void *buf;
|
||||
void *ptr;
|
||||
#else
|
||||
char *buf;
|
||||
#endif
|
||||
|
@ -573,6 +577,9 @@ write_vc(xprtp, buf, len)
|
|||
int i, cnt;
|
||||
struct cf_conn *cd;
|
||||
struct timeval tv0, tv1;
|
||||
#ifdef __REACTOS__
|
||||
char *buf = ptr;
|
||||
#endif
|
||||
|
||||
xprt = (SVCXPRT *)xprtp;
|
||||
assert(xprt != NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue