win32: request UTF-16 API variants, Vista+ APIs, and COM C macros

Put the Vista+ (_WIN32_WINNT) and the COM C (COBJMACROS) defines into
the build system, instead of defining them over and over in the code.
This commit is contained in:
wm4
2015-01-07 21:33:14 +01:00
parent 5f398831d2
commit f61b8b312d
13 changed files with 11 additions and 28 deletions

View File

@@ -15,7 +15,6 @@
* with mpv. If not, see <http://www.gnu.org/licenses/>.
*/
#define _WIN32_WINNT 0x0600
#include <windows.h>
#include <string.h>