Skip to content

Commit

Permalink
Fixed bug 4102 - define _WIN32_WINNT_WIN7 if not already defined
Browse files Browse the repository at this point in the history
Ozkan Sezer

The following patch defines _WIN32_WINNT_WIN7 if it is not already
defined in core/windows/SDL_windows.c,  similar to what is already
there for _WIN32_WINNT_VISTA.
  • Loading branch information
slouken committed Mar 11, 2018
1 parent 6d39e67 commit d401a77
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/windows/SDL_windows.c
Expand Up @@ -31,6 +31,9 @@
#ifndef _WIN32_WINNT_VISTA
#define _WIN32_WINNT_VISTA 0x0600
#endif
#ifndef _WIN32_WINNT_WIN7
#define _WIN32_WINNT_WIN7 0x0601
#endif


/* Sets an error message based on an HRESULT */
Expand Down

0 comments on commit d401a77

Please sign in to comment.