Fix build

This commit is contained in:
2025-04-23 17:57:10 +08:00
parent 34e5aa8c17
commit 7c2a0f0d64
2 changed files with 2 additions and 4 deletions

View File

@@ -3,10 +3,6 @@
#include <malloc.h>
#include <string.h>
#if _WIN32
#include <Windows.h>
#endif
bool stringToChar(std::string input, char*& output) {
auto sz = input.size();
auto s = (char*)malloc(sz + 1);

View File

@@ -1,7 +1,9 @@
#ifndef _UTIL_WCHAR_UTIL_H
#define _UTIL_WCHAR_UTIL_H
#include<string>
#if _WIN32
#include <Windows.h>
#endif
namespace wchar_util {
#if _WIN32