Fix building with MinGW 11.2.0 on Windows, add it into CI/CD

This commit is contained in:
Nikolaj Schlej 2022-09-27 17:36:27 +02:00 committed by Nikolaj Schlej
parent 9bb0549ad2
commit 6247fa5bbc
3 changed files with 26 additions and 7 deletions

View file

@ -20,7 +20,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include <sys/stat.h>
#include <fstream>
#ifdef WIN32
#if defined(_WIN32) || defined(__MINGW32__)
#include <direct.h>
#include <stdlib.h>
static inline bool isExistOnFs(const UString & path) {