mirror of
https://github.com/lifegpc/c-utils.git
synced 2026-06-06 13:18:57 +08:00
Fix build
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user