Skip to content

Commit

Permalink
mingw-sdl: Fix NOMINMAX redefined warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jhasse committed Oct 27, 2024
1 parent 1c130bb commit ffd7857
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sdl/window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
#include <cassert>
#include <stdexcept>
#if defined(_WIN32) && !defined(JNGL_UWP)
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <windows.h>
#endif

Expand Down

0 comments on commit ffd7857

Please sign in to comment.