mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[oskittcp]
-Fix compilation with msc svn path=/branches/cmake-bringup/; revision=50706
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user