Skip to content

Commit a4e875f

Browse files
committed
2nd attempt to fix MinGW SDL building
1 parent a109eee commit a4e875f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

platforms/sdl/desktop/AppPlatform_sdl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ void AppPlatform_sdl::ensureDirectoryExists(const char* path)
3636
if (stat(path, &obj) != 0 || !S_ISDIR(obj.st_mode))
3737
{
3838
// Create Screenshots Folder
39-
#ifdef _WIN32
39+
#if defined(_WIN32) && !defined(__MINGW32__)
4040
int ret = XPL_MKDIR(path);
4141
#else
4242
int ret = XPL_MKDIR(path, S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH);

0 commit comments

Comments
 (0)