Pioneer
Loading...
Searching...
No Matches
src
win32
Win32Setup.h
Go to the documentation of this file.
1
// Copyright © 2008-2023 Pioneer Developers. See AUTHORS.txt for details
2
// Licensed under the terms of the GPL v3. See licenses/GPL-3.txt
3
4
#ifndef _WIN32_WIN32SETUP_H
5
#define _WIN32_WIN32SETUP_H
6
7
// MinGW targets NT4 by default. We need to set some higher versions to ensure
8
// that functions we need are available. Specifically, SHCreateDirectoryExA
9
// and GetFileSizeEx requires Windows 2000 and IE5. We include w32api.h to get
10
// the symbolic constants for these things.
11
#ifdef __MINGW32__
12
#include <w32api.h>
13
#ifdef WINVER
14
#undef WINVER
15
#endif
16
#ifdef RegisterClass
17
#undef RegisterClass
18
#endif
19
#define WINVER Windows2000
20
#define _WIN32_IE IE5
21
#endif
22
23
#endif
Generated by
1.9.7