2020-02-22 19:00:42 +00:00
|
|
|
#include "linux/windows/winbase.h"
|
|
|
|
|
|
|
|
#include <errno.h>
|
2020-06-24 08:34:01 +01:00
|
|
|
#include <iostream>
|
2020-02-22 19:00:42 +00:00
|
|
|
|
|
|
|
DWORD WINAPI GetLastError(void)
|
|
|
|
{
|
|
|
|
return errno;
|
|
|
|
}
|
2020-06-24 08:34:01 +01:00
|
|
|
|
|
|
|
void DeleteCriticalSection(CRITICAL_SECTION * criticalSection)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void InitializeCriticalSection(CRITICAL_SECTION * criticalSection)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void EnterCriticalSection(CRITICAL_SECTION * criticalSection)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void LeaveCriticalSection(CRITICAL_SECTION * criticalSection)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void OutputDebugString(const char * str)
|
|
|
|
{
|
|
|
|
std::cerr << str << std::endl;
|
|
|
|
}
|
|
|
|
|
|
|
|
void ExitProcess(int status)
|
|
|
|
{
|
|
|
|
exit(status);
|
|
|
|
}
|