From 81aa803f014933515d0e7e6d41a87b8a466c7ad6 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Sun, 29 May 2022 00:22:29 -0500 Subject: [PATCH] MSVC: ughh, f**k you, you d**khead. --- .github/workflows/build.yml | 2 ++ src/main.cpp | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ff6a1b132..8fd08833b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,6 +18,8 @@ jobs: strategy: matrix: config: + - { name: 'Windows MSVC x86', os: windows-latest, compiler: msvc, arch: x86 } + - { name: 'Windows MSVC x86_64', os: windows-latest, compiler: msvc, arch: x86_64 } - { name: 'Windows MinGW x86', os: ubuntu-20.04, compiler: mingw, arch: x86 } - { name: 'Windows MinGW x86_64', os: ubuntu-20.04, compiler: mingw, arch: x86_64 } - { name: 'macOS', os: macos-latest } diff --git a/src/main.cpp b/src/main.cpp index 8cc01aa2a..870ee6a44 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_BACKWARD +#include "../extern/backward/backward.hpp" +#endif + #include #include #include @@ -39,10 +43,6 @@ #include "gui/gui.h" #endif -#ifdef HAVE_BACKWARD -#include "../extern/backward/backward.hpp" -#endif - DivEngine e; #ifdef HAVE_GUI