Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEVTOOLS: Fix create_engine compilation with mingw-w64 #4791

Merged
merged 1 commit into from Mar 10, 2023

Conversation

hax0kartik
Copy link
Contributor

@hax0kartik hax0kartik commented Mar 9, 2023

Prior to the change, compilation of create_engine would fail(mingw-w64) due to error: too many arguments to function 'int mkdir(const char*)'. Replacing _MSC_VER with _WIN32 fixes the issue as windows.h gets included and CreateDirectoryA is used instead of mkdir.

@sev-
Copy link
Member

sev- commented Mar 10, 2023

Thank you!

@sev- sev- merged commit 4d9bf44 into scummvm:master Mar 10, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants