From 72754aa5c5537061717867d213a3cac776d59b26 Mon Sep 17 00:00:00 2001 From: hyzboy Date: Mon, 9 Nov 2020 13:14:06 +0800 Subject: [PATCH] add HGL_DIRECTORY_SEPARATOR_RAWCHAR macro --- inc/hgl/platform/os/MSWindows.h | 1 + 1 file changed, 1 insertion(+) diff --git a/inc/hgl/platform/os/MSWindows.h b/inc/hgl/platform/os/MSWindows.h index 4254a42..d41d663 100644 --- a/inc/hgl/platform/os/MSWindows.h +++ b/inc/hgl/platform/os/MSWindows.h @@ -37,6 +37,7 @@ using os_char =wchar_t; #define HGL_PLUGIN_EXTNAME OS_TEXT(".DLL") //插件文件扩展名 #define HGL_PLUGIN_FUNC extern "C" __declspec(dllexport) //插件函数定义 +#define HGL_DIRECTORY_SEPARATOR_RAWCHAR '\\' //目录分隔符 #define HGL_DIRECTORY_SEPARATOR OS_TEXT('\\') //目录分隔符 #define HGL_DIRECTORY_SEPARATOR_STR OS_TEXT("\\") //目录分隔符 #define HGL_DIRECTORY_SEPARATOR_U8STR U8_TEXT("\\")