MSYS: fix CMake configure and build for MinGW

This commit is contained in:
wmayer
2023-12-03 17:13:23 +01:00
committed by wwmayer
parent 9cb4745f38
commit 8f3fcd540a
4 changed files with 4 additions and 7 deletions

View File

@@ -172,7 +172,7 @@ private:
using DiGraph = boost::adjacency_list< boost::listS, boost::vecS, boost::directedS >;
using Edge = std::pair<int, int>;
// Note: use std::map instead of unordered_map to keep the binding order stable
#if defined(FC_OS_MACOSX) || defined(FC_OS_BSD)
#if defined(FC_OS_MACOSX) || defined(FC_OS_BSD) || defined(_LIBCPP_VERSION)
using ExpressionMap = std::map<App::ObjectIdentifier, ExpressionInfo>;
#else
using ExpressionMap = std::map<const App::ObjectIdentifier, ExpressionInfo>;

View File

@@ -26,12 +26,9 @@
// Std. configurations
#ifdef __GNUC__
#include <cstdint>
#endif
#include <sstream>
#include <vector>
#include <cstdint>
#include <Base/Tools3D.h>
#ifndef FC_GLOBAL_H
#include <FCGlobal.h>