Skip to content

Commit

Permalink
Merge branch 'develop' into feature/MAGP-1137-add-webp
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanSiemen committed Dec 19, 2023
2 parents e369bca + 3fa5658 commit e140097
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/web/MagConfig.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,15 @@
#include "Value.h"


#if ((defined(_MSVC_LANG) && _MSVC_LANG >= 201703L) || __cplusplus >= 201703L)
#define STD_FILESYSTEM_INCLUDE_MISSING 0
#ifdef __has_include
#if !__has_include(<filesystem>)
#define STD_FILESYSTEM_INCLUDE_MISSING 1
#endif
#endif


#if ((defined(_MSVC_LANG) && _MSVC_LANG >= 201703L) || (__cplusplus >= 201703L) && !STD_FILESYSTEM_INCLUDE_MISSING)
#include <filesystem>
namespace fs = std::filesystem;
#else
Expand Down Expand Up @@ -579,4 +587,4 @@ bool PaletteLibrary::find(string& name, Palette& out) {
}
return false;

}
}

0 comments on commit e140097

Please sign in to comment.