Skip to content
Snippets Groups Projects
Commit 5f3c0382 authored by David Dormagen's avatar David Dormagen
Browse files

allow compilation with GCC 7 (without <filesystem> header)

parent fb5277b9
No related branches found
No related tags found
No related merge requests found
#include "PluginLoader.h" #include "PluginLoader.h"
#include <QDebug> #include <QDebug>
#include <vector> #include <vector>
#include <filesystem>
#include <sstream> #include <sstream>
#if __has_include(<filesystem>)
#include <filesystem>
#else
#include <experimental/filesystem>
namespace std
{
namespace filesystem = std::experimental::filesystem;
};
#endif
#ifdef _WIN32 #ifdef _WIN32
#include <stdio.h> #include <stdio.h>
#include <tchar.h> #include <tchar.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment