mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Added bitcode emission, additional logging
This commit is contained in:
parent
1e8c633a36
commit
43b69023f6
14 changed files with 74 additions and 31 deletions
|
@ -2435,7 +2435,8 @@ BFP_EXPORT void BFP_CALLTYPE BfpDirectory_Create(const char* path, BfpFileResult
|
|||
UTF16String wPath = UTF8Decode(path);
|
||||
if (!::CreateDirectoryW(wPath.c_str(), NULL))
|
||||
{
|
||||
switch (::GetLastError())
|
||||
int lastError = ::GetLastError();
|
||||
switch (lastError)
|
||||
{
|
||||
case ERROR_ALREADY_EXISTS:
|
||||
OUTRESULT(BfpFileResult_AlreadyExists);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue