为MINGW32/64编译器添加支持

This commit is contained in:
kusugawa
2020-07-10 17:01:57 +08:00
parent cdd9d4eb14
commit b615c467e1

View File

@@ -195,7 +195,7 @@ namespace hgl
len=GetCurrentDirectoryW(0,nullptr);
if(len==0)
return(nullptr);
return false;
dir=new u16char[len+1];