Skip to content

Commit

Permalink
Stupid Win32 macro stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
AnyOldName3 committed Jul 5, 2023
1 parent c21695c commit 67d08a5
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions components/debug/debugging.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,17 @@
#include <components/crashcatcher/windows_crashcatcher.hpp>
#include <components/windows.hpp>
#include <Knownfolders.h>

#pragma push_macro("FAR")
#pragma push_macro("NEAR")
#undef FAR
#define FAR
#undef NEAR
#define NEAR
#include <Shlobj.h>
#undef NEAR
#undef FAR
#pragma pop_macro("NEAR")
#pragma pop_macro("FAR")

#endif

#include <SDL_messagebox.h>
Expand Down

0 comments on commit 67d08a5

Please sign in to comment.