Fixes mono builds. (#16)
This commit is contained in:
parent
90ffe0ea3c
commit
1c8f044476
6 changed files with 9 additions and 30 deletions
|
|
@ -51,7 +51,6 @@ namespace Server
|
|||
{
|
||||
public unsafe void Read(IntPtr ptr, void* buffer, int length)
|
||||
{
|
||||
//UnsafeNativeMethods._lread( ptr, buffer, length );
|
||||
uint lpNumberOfBytesRead = 0;
|
||||
UnsafeNativeMethods.ReadFile(ptr, buffer, (uint)length, ref lpNumberOfBytesRead, null);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue