From f8adaf23865b398c0b87f630bf0cadcc7caf95e5 Mon Sep 17 00:00:00 2001 From: taynpg Date: Fri, 29 Nov 2024 10:42:07 +0800 Subject: [PATCH] =?UTF-8?q?define=EF=BC=9A=E5=AE=9A=E4=B9=89UNICODE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/of_def.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/of_def.hpp b/include/of_def.hpp index 49b0bcb..5813f7f 100644 --- a/include/of_def.hpp +++ b/include/of_def.hpp @@ -6,6 +6,12 @@ #ifdef UNICODE_OFSTR using ofString = std::wstring; #define ofT(text) L##text +#ifndef UNICODE +#define UNICODE +#endif +#ifndef _UNICODE +#define _UNICODE +#endif #else using ofString = std::string; #define ofT(text) text