Skip to content

Commit

Permalink
Fix build on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
kurasu committed Oct 7, 2018
1 parent 13384fc commit 43e6ae5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/common/SurgeStorage.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ using namespace std;

#if __linux
#include <experimental/filesystem>
#else
#elif __APPLE__
#include <filesystem.h>
#else
#include <filesystem>
#endif

#include <fstream>
Expand Down
4 changes: 3 additions & 1 deletion src/common/SurgeSynthesizerIO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
#include <vt_dsp/vt_dsp_endian.h>
#ifdef __linux__
#include <experimental/filesystem>
#else
#elif __APPLE__
#include <filesystem.h>
#else
#include <filesystem>
#endif
#include <fstream>
#include <iterator>
Expand Down

0 comments on commit 43e6ae5

Please sign in to comment.