commit 28777e06d4f1f4f6f5459a817a3eb296dabdac09 parent c4c05d5edca9a6727dd4671bdd97bf5697a4729f Author: dsp56300 <lyve2909+githubdsp56300@gmail.com> Date: Wed, 14 Jul 2021 15:26:35 +0200 do not use std::filesystem for linux build Diffstat:
M | source/synthLib/os.cpp | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/source/synthLib/os.cpp b/source/synthLib/os.cpp @@ -2,7 +2,9 @@ #include "../dsp56300/source/dsp56kEmu/logging.h" -#ifdef __APPLE__ // filesystem is only available on Mac OS Catalina 10.15+ +#ifndef _WIN32 +// filesystem is only available on Mac OS Catalina 10.15+ +// filesystem causes linker errors in gcc-8 if linked statically #define USE_DIRENT #endif