Skip to content

Commit

Permalink
error when compiling Geode Loader with MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
altalk23 committed Nov 27, 2024
1 parent 24189b1 commit 926eb92
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions loader/include/Geode/DefaultInclude.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
#include <Geode/platform/platform.hpp>
#include <variant>

#if defined(GEODE_EXPOSE_SECRET_INTERNALS_IN_HEADERS_DO_NOT_DEFINE_PLEASE)
#if !defined(__clang__)
#error Geode Loader only compiles with Clang.
#endif
#endif

#if !defined(GEODE_CONCAT)
#define GEODE_WRAPPER_CONCAT(x, y) x##y
#define GEODE_CONCAT(x, y) GEODE_WRAPPER_CONCAT(x, y)
Expand Down

0 comments on commit 926eb92

Please sign in to comment.