summaryrefslogtreecommitdiff
path: root/src/lib/evil
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2017-10-24 16:12:09 -0700
committerCedric BAIL <cedric@osg.samsung.com>2017-10-24 16:13:01 -0700
commit56a4d3037e38a01903f2f35d45f86103976c0a5e (patch)
treeb3cf9dd290726729413dd65b88fcff2c05084615 /src/lib/evil
parentbd90fff392c0546c0b00b4c8657d59b42ed9c09e (diff)
Evil: really drop Windows XP support
Summary: set WINVER macro to at least Vista macro value Test Plan: compilation Reviewers: cedric Subscribers: jpeg Differential Revision: https://phab.enlightenment.org/D5369
Diffstat (limited to 'src/lib/evil')
-rw-r--r--src/lib/evil/evil_util.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/evil/evil_util.c b/src/lib/evil/evil_util.c
index ebbe0ad..4f74353 100644
--- a/src/lib/evil/evil_util.c
+++ b/src/lib/evil/evil_util.c
@@ -90,9 +90,7 @@ evil_utf16_to_utf8(const wchar_t *text16)
90 if (!text16) 90 if (!text16)
91 return NULL; 91 return NULL;
92 92
93#if WINVER >= 0x0600
94 flag = WC_ERR_INVALID_CHARS; 93 flag = WC_ERR_INVALID_CHARS;
95#endif
96 94
97 size8 = WideCharToMultiByte(CP_UTF8, flag, text16, -1, NULL, 0, NULL, NULL); 95 size8 = WideCharToMultiByte(CP_UTF8, flag, text16, -1, NULL, 0, NULL, NULL);
98 if (size8 == 0) 96 if (size8 == 0)