Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/WolfireGames/overgrowth.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Vedder <vedder@mbits.info>2022-05-04 17:26:25 +0300
committerStephan Vedder <vedder@mbits.info>2022-05-05 12:09:17 +0300
commit4f2f3b26a3126c9ee8ce838bc854d65e16233c46 (patch)
tree565cfbfca55383fe27bae271fbdeb04b1ee384bd
parentf324cd6390602fb77fb0d6957ef8c94d9d17d586 (diff)
Fix VS2017 build
-rw-r--r--.github/workflows/build.yml9
-rw-r--r--Source/Internal/datemodified.cpp2
2 files changed, 10 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 09621b75..73c1121f 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -39,7 +39,14 @@ jobs:
run: cmake --build ./Build --verbose -j4
windows:
- runs-on: windows-latest
+ strategy:
+ matrix:
+ version:
+ - 'windows-2016'
+ - 'windows-latest'
+ fail-fast: false
+
+ runs-on: ${{ matrix.version }}
steps:
- uses: actions/checkout@v2
diff --git a/Source/Internal/datemodified.cpp b/Source/Internal/datemodified.cpp
index f7962e33..e3da5230 100644
--- a/Source/Internal/datemodified.cpp
+++ b/Source/Internal/datemodified.cpp
@@ -32,6 +32,8 @@
#include <windows.h>
#endif
+#include <time.h>
+#include <sys/types.h>
#include <sys/stat.h>
#include <stdio.h>
#include <errno.h>