We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a109eee commit a4e875fCopy full SHA for a4e875f
1 file changed
platforms/sdl/desktop/AppPlatform_sdl.cpp
@@ -36,7 +36,7 @@ void AppPlatform_sdl::ensureDirectoryExists(const char* path)
36
if (stat(path, &obj) != 0 || !S_ISDIR(obj.st_mode))
37
{
38
// Create Screenshots Folder
39
-#ifdef _WIN32
+#if defined(_WIN32) && !defined(__MINGW32__)
40
int ret = XPL_MKDIR(path);
41
#else
42
int ret = XPL_MKDIR(path, S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH);
0 commit comments