Mercurial > vim
comparison src/GvimExt/Makefile @ 19382:e6f0b4fe0b6d v8.2.0249
patch 8.2.0249: MS-Windows: various warnings
Commit: https://github.com/vim/vim/commit/3fb377fa78131004138b22a87afe33eeb7649b94
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Feb 12 21:52:32 2020 +0100
patch 8.2.0249: MS-Windows: various warnings
Problem: MS-Windows: various warnings.
Solution: Set the charset to utf-8. Add _WIN32_WINNT and _USING_V110_SDK71_.
(Ken Takata, closes #5625)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 12 Feb 2020 22:00:05 +0100 |
parents | b2ed528e85ef |
children | ba9d53c7c509 |
comparison
equal
deleted
inserted
replaced
19381:95be753d41c0 | 19382:e6f0b4fe0b6d |
---|---|
7 | 7 |
8 TARGETOS = WINNT | 8 TARGETOS = WINNT |
9 | 9 |
10 !ifndef APPVER | 10 !ifndef APPVER |
11 APPVER = 5.01 | 11 APPVER = 5.01 |
12 !endif | |
13 !ifndef WINVER | |
14 WINVER = 0x0501 | |
12 !endif | 15 !endif |
13 | 16 |
14 !if "$(DEBUG)" != "yes" | 17 !if "$(DEBUG)" != "yes" |
15 NODEBUG = 1 | 18 NODEBUG = 1 |
16 !endif | 19 !endif |
51 !endif | 54 !endif |
52 | 55 |
53 # include CPUARG | 56 # include CPUARG |
54 cflags = $(cflags) $(CPUARG) | 57 cflags = $(cflags) $(CPUARG) |
55 | 58 |
59 # set WINVER and _WIN32_WINNT | |
60 cflags = $(cflags) -DWINVER=$(WINVER) -D_WIN32_WINNT=$(WINVER) | |
61 | |
62 !if "$(CL)" == "/D_USING_V110_SDK71_" | |
63 rcflags = $(rcflags) /D_USING_V110_SDK71_ | |
64 !endif | |
65 | |
56 SUBSYSTEM = console | 66 SUBSYSTEM = console |
57 !if "$(SUBSYSTEM_VER)" != "" | 67 !if "$(SUBSYSTEM_VER)" != "" |
58 SUBSYSTEM = $(SUBSYSTEM),$(SUBSYSTEM_VER) | 68 SUBSYSTEM = $(SUBSYSTEM),$(SUBSYSTEM_VER) |
59 !endif | 69 !endif |
60 | 70 |