Skip to content

Commit

Permalink
Fix MSVC errors
Browse files Browse the repository at this point in the history
  • Loading branch information
DolphyWind committed Feb 17, 2024
1 parent 869e211 commit b3ff2cb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/Logger.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ SOFTWARE.
#include <StringUtilities.hpp>
#include <Global.hpp>

#ifdef ERROR
#undef ERROR
#endif

enum class LogType
{
WARNING,
Expand Down
2 changes: 2 additions & 0 deletions include/thirdparty/dylib/dylib.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
#include <filesystem>
#endif

#define NOMINMAX

#if (defined(_WIN32) || defined(_WIN64))
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
Expand Down

0 comments on commit b3ff2cb

Please sign in to comment.