yuqucheng fa7c338ea5 init
2026-06-23 09:54:30 +08:00

26 lines
441 B
C++

#include "os/c-api/il2cpp-config-platforms.h"
#if IL2CPP_TARGET_WINDOWS
#include "os/Debug.h"
#include "os/Win32/WindowsHeaders.h"
#include "utils/StringUtils.h"
namespace il2cpp
{
namespace os
{
bool Debug::IsDebuggerPresent()
{
return ::IsDebuggerPresent() != FALSE;
}
void Debug::WriteString(const utils::StringView<Il2CppNativeChar>& message)
{
OutputDebugString(message.Str());
}
}
}
#endif