Skip to content

Commit

Permalink
Try adding a manual define for NOMINMAX
Browse files Browse the repository at this point in the history
  • Loading branch information
Laguna1989 committed Oct 31, 2023
1 parent eaa1798 commit 7c6113f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

- name: Build
working-directory: ${{github.workspace}}/build
run: cmake --build . --config Release
run: cmake --build . --config Release --parallel

- name: Copy files
run: |
Expand Down
6 changes: 4 additions & 2 deletions impl/game/main.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#include "main.hpp"
#define NOMINMAX

#include "main.hpp"
#include <action_commands/action_command_manager.hpp>
#include <action_commands/basic_action_commands.hpp>
#include <audio/audio/audio_impl.hpp>
Expand Down Expand Up @@ -33,7 +35,7 @@ void gameloop()
}
}

int main(int argc, char *argv[])
int main(int argc, char* argv[])
{
hideConsoleInRelease();

Expand Down

0 comments on commit 7c6113f

Please sign in to comment.