filechoosernativewin32: Define MSC_VER at top of file

The headers we include might include windows headers which define _MSC_VER already.
This commit is contained in:
Benjamin Otte 2016-02-06 04:24:39 +01:00 committed by Benjamin Otte
parent 0ea9131ff7
commit 117e303b44

View File

@ -19,6 +19,12 @@
#include "config.h"
/* Vista or newer */
#define _WIN32_WINNT 0x0600
#define WINVER _WIN32_WINNT
#define NTDDI_VERSION NTDDI_VISTA
#define COBJMACROS
#include "gtkfilechoosernativeprivate.h"
#include "gtknativedialogprivate.h"
@ -41,12 +47,6 @@
#include "gtkfilechooserentry.h"
#include "gtkfilefilterprivate.h"
/* Vista or newer */
#define _WIN32_WINNT 0x0600
#define WINVER _WIN32_WINNT
#define NTDDI_VERSION NTDDI_VISTA
#define COBJMACROS
#include "win32/gdkwin32.h"
#include <shlobj.h>
#include <windows.h>