Skip to content

Commit

Permalink
use CreateDirectoryA in test.cpp
Browse files Browse the repository at this point in the history
(weren't we supposed to use unicode functions in this file??? idk
whatever, i'm just copying delete_file() here)
  • Loading branch information
randomdude999 committed Jan 21, 2024
1 parent 5accc19 commit 570b0ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/asar-tests/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ static void delete_file(const char * filename)
static void create_directory(const char * dirname)
{
#ifdef _WIN32
CreateDirectory(dirname, NULL);
CreateDirectoryA(dirname, NULL);
#else
mkdir(dirname, 0777);
#endif
Expand Down

0 comments on commit 570b0ea

Please sign in to comment.