Browse Source

dialog, windows: tweak includes and include order,

so that the set _WIN32_WINNT value is visible to the source.

Reference issue: https://github.com/libsdl-org/SDL/pull/13904
Ozkan Sezer 4 days ago
parent
commit
b2c6dfa4c5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/dialog/windows/SDL_windowsdialog.c

+ 2 - 2
src/dialog/windows/SDL_windowsdialog.c

@@ -19,14 +19,14 @@
   3. This notice may not be removed or altered from any source distribution.
   3. This notice may not be removed or altered from any source distribution.
 */
 */
 #include "SDL_internal.h"
 #include "SDL_internal.h"
+#include "../../core/windows/SDL_windows.h"
 #include "../SDL_dialog.h"
 #include "../SDL_dialog.h"
 #include "../SDL_dialog_utils.h"
 #include "../SDL_dialog_utils.h"
 
 
-#include <windows.h>
+#include <unknwn.h>
 #include <commdlg.h>
 #include <commdlg.h>
 #include <shlobj.h>
 #include <shlobj.h>
 #include <shobjidl.h>
 #include <shobjidl.h>
-#include "../../core/windows/SDL_windows.h"
 #include "../../thread/SDL_systhread.h"
 #include "../../thread/SDL_systhread.h"
 
 
 #if WINVER < _WIN32_WINNT_VISTA
 #if WINVER < _WIN32_WINNT_VISTA