summaryrefslogtreecommitdiff
path: root/src/lib/evil/evil_string.c
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2014-07-13 10:59:40 +0200
committerCedric BAIL <c.bail@partner.samsung.com>2014-07-13 15:17:17 +0200
commit9631585f241832db7fe01ed28d6c9f2963ca050f (patch)
tree29ca1122c6423a055710474f8abd37e2e0335e26 /src/lib/evil/evil_string.c
parent5080dc4dff070d7c06947b1632bc9d2c1a1dbc5c (diff)
efl: remove Windows CE support
Diffstat (limited to 'src/lib/evil/evil_string.c')
-rw-r--r--src/lib/evil/evil_string.c46
1 files changed, 0 insertions, 46 deletions
diff --git a/src/lib/evil/evil_string.c b/src/lib/evil/evil_string.c
index c6d017a..1112172 100644
--- a/src/lib/evil/evil_string.c
+++ b/src/lib/evil/evil_string.c
@@ -6,21 +6,6 @@
6#include "evil_private.h" 6#include "evil_private.h"
7 7
8 8
9#ifdef _WIN32_WCE
10
11/*
12 * Error related functions
13 *
14 */
15
16char *strerror (int errnum EVIL_UNUSED)
17{
18 return "[Windows CE] error\n";
19}
20
21#endif /* _WIN32_WCE */
22
23
24/* 9/*
25 * bit related functions 10 * bit related functions
26 * 11 *
@@ -42,37 +27,6 @@ int ffs(int i)
42 return x; 27 return x;
43} 28}
44 29
45
46#ifdef _WIN32_WCE
47
48/*
49 * String manipulation related functions
50 *
51 */
52
53int
54strcoll (const char *s1, const char *s2)
55{
56#ifdef UNICODE
57 wchar_t *ws1;
58 wchar_t *ws2;
59 int res;
60
61 ws1 = evil_char_to_wchar(s1);
62 ws2 = evil_char_to_wchar(s2);
63 res = wcscmp(ws1, ws2);
64 if (ws1) free(ws1);
65 if (ws2) free(ws2);
66
67 return res;
68#else
69 return strcmp(s1, s2);
70#endif /* ! UNICODE */
71}
72
73
74#endif /* _WIN32_WCE */
75
76char * 30char *
77strrstr (const char *str, const char *substr) 31strrstr (const char *str, const char *substr)
78{ 32{