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

Compile on mingw32 #80

Merged
merged 2 commits into from
Oct 5, 2018
Merged

Compile on mingw32 #80

merged 2 commits into from
Oct 5, 2018

Conversation

cxw42
Copy link
Contributor

@cxw42 cxw42 commented Oct 4, 2018

For those of us without Visual Studio on at least one development
machine :) .

  • CMakeLists: use WIN32 instead of MSVC except for MSVC-specific switches
  • src/platform_w32_common/SetupDialog.cpp: stdio.h for _snprintf()

Edit Runs OK with GLFW, DX9, and DX11. DX11 didn't require any changes.

cxw42 added 2 commits October 4, 2018 18:22
For those of us without Visual Studio on at least one development
machine :) .

 - CMakeLists: use WIN32 instead of MSVC except for MSVC-specific switches
 - src/platform_w32_common/SetupDialog.cpp: stdio.h for _snprintf()
 - Add a few missing constants
 - Don't take the address of a temporary
@Gargaj Gargaj merged commit 7c927ba into Gargaj:master Oct 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants