mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[oskittcp]
-Fix compilation with msc svn path=/branches/cmake-bringup/; revision=50706
This commit is contained in:
parent
73d18c6855
commit
53313b61be
2 changed files with 6 additions and 1 deletions
|
@ -194,7 +194,11 @@ int bcmp(const void *b1, const void *b2, size_t len)
|
|||
return RtlCompareMemory(b1, b2, len);
|
||||
}
|
||||
|
||||
#ifndef _MSC_VER
|
||||
|
||||
int memcmp(const void *b1, const void *b2, size_t len)
|
||||
{
|
||||
return RtlCompareMemory(b1, b2, len);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -129,9 +129,10 @@ int OskitTCPSocket( void *context,
|
|||
int proto )
|
||||
{
|
||||
struct socket *so;
|
||||
int error ;
|
||||
|
||||
OSKLock();
|
||||
int error = socreate(domain, &so, type, proto);
|
||||
error = socreate(domain, &so, type, proto);
|
||||
if( !error ) {
|
||||
so->so_connection = context;
|
||||
InitializeSocketFlags(so);
|
||||
|
|
Loading…
Reference in a new issue