diff --git a/SrcBehaviorLoader/PluginLoader.cpp b/SrcBehaviorLoader/PluginLoader.cpp index 5033cb4e6ecd46c179867e44f995ebb4d5a1fe87..433c20923f6d4580a4a2e2cdeeb45502e2f725ae 100644 --- a/SrcBehaviorLoader/PluginLoader.cpp +++ b/SrcBehaviorLoader/PluginLoader.cpp @@ -1,9 +1,18 @@ #include "PluginLoader.h" #include <QDebug> #include <vector> -#include <filesystem> #include <sstream> +#if __has_include(<filesystem>) + #include <filesystem> +#else + #include <experimental/filesystem> + namespace std + { + namespace filesystem = std::experimental::filesystem; + }; +#endif + #ifdef _WIN32 #include <stdio.h> #include <tchar.h>