mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:32:59 +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.
|
* Any error is fatal and the connection is closed.
|
||||||
*/
|
*/
|
||||||
static int
|
static int
|
||||||
|
#ifdef __REACTOS__
|
||||||
|
write_vc(xprtp, ptr, len)
|
||||||
|
#else
|
||||||
write_vc(xprtp, buf, len)
|
write_vc(xprtp, buf, len)
|
||||||
|
#endif
|
||||||
void *xprtp;
|
void *xprtp;
|
||||||
#ifdef __REACTOS__
|
#ifdef __REACTOS__
|
||||||
void *buf;
|
void *ptr;
|
||||||
#else
|
#else
|
||||||
char *buf;
|
char *buf;
|
||||||
#endif
|
#endif
|
||||||
|
@ -573,6 +577,9 @@ write_vc(xprtp, buf, len)
|
||||||
int i, cnt;
|
int i, cnt;
|
||||||
struct cf_conn *cd;
|
struct cf_conn *cd;
|
||||||
struct timeval tv0, tv1;
|
struct timeval tv0, tv1;
|
||||||
|
#ifdef __REACTOS__
|
||||||
|
char *buf = ptr;
|
||||||
|
#endif
|
||||||
|
|
||||||
xprt = (SVCXPRT *)xprtp;
|
xprt = (SVCXPRT *)xprtp;
|
||||||
assert(xprt != NULL);
|
assert(xprt != NULL);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue