Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/nfd_win.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@
#ifdef __MINGW32__
// Explicitly setting NTDDI version, this is necessary for the MinGW compiler
#define NTDDI_VERSION NTDDI_VISTA

#ifdef _WIN32_WINNT
#undef _WIN32_WINNT // Prevent a warning about overwriting an existing define by first undefining it
#endif
#define _WIN32_WINNT _WIN32_WINNT_VISTA

#endif

#define _CRTDBG_MAP_ALLOC
Expand Down