diff options
Diffstat (limited to 'src/lib')
69 files changed, 92 insertions, 92 deletions
diff --git a/src/lib/ecore/ecore.c b/src/lib/ecore/ecore.c index ec733b20c6..35967d6a00 100644 --- a/src/lib/ecore/ecore.c +++ b/src/lib/ecore/ecore.c | |||
@@ -15,7 +15,7 @@ | |||
15 | # include <langinfo.h> | 15 | # include <langinfo.h> |
16 | #endif | 16 | #endif |
17 | 17 | ||
18 | #if defined(HAVE_SYS_MMAN_H) || defined(HAVE_EVIL) | 18 | #if defined(HAVE_SYS_MMAN_H) || defined(_WIN32) |
19 | # include <sys/mman.h> | 19 | # include <sys/mman.h> |
20 | #endif | 20 | #endif |
21 | 21 | ||
@@ -23,7 +23,7 @@ | |||
23 | # include <systemd/sd-daemon.h> | 23 | # include <systemd/sd-daemon.h> |
24 | #endif | 24 | #endif |
25 | 25 | ||
26 | #ifdef HAVE_EVIL | 26 | #ifdef _WIN32 |
27 | # include <Evil.h> | 27 | # include <Evil.h> |
28 | #endif | 28 | #endif |
29 | #include <Eina.h> | 29 | #include <Eina.h> |
@@ -221,7 +221,7 @@ ecore_init(void) | |||
221 | WRN("Not a utf8 locale!"); | 221 | WRN("Not a utf8 locale!"); |
222 | } | 222 | } |
223 | */ | 223 | */ |
224 | #ifdef HAVE_EVIL | 224 | #ifdef _WIN32 |
225 | if (!evil_init()) | 225 | if (!evil_init()) |
226 | return --_ecore_init_count; | 226 | return --_ecore_init_count; |
227 | #endif | 227 | #endif |
@@ -337,7 +337,7 @@ shutdown_mempool: | |||
337 | shutdown_log_dom: | 337 | shutdown_log_dom: |
338 | eina_shutdown(); | 338 | eina_shutdown(); |
339 | shutdown_evil: | 339 | shutdown_evil: |
340 | #ifdef HAVE_EVIL | 340 | #ifdef _WIN32 |
341 | evil_shutdown(); | 341 | evil_shutdown(); |
342 | #endif | 342 | #endif |
343 | 343 | ||
@@ -453,7 +453,7 @@ ecore_shutdown(void) | |||
453 | 453 | ||
454 | eina_evlog("<RUN", NULL, 0.0, NULL); | 454 | eina_evlog("<RUN", NULL, 0.0, NULL); |
455 | eina_shutdown(); | 455 | eina_shutdown(); |
456 | #ifdef HAVE_EVIL | 456 | #ifdef _WIN32 |
457 | evil_shutdown(); | 457 | evil_shutdown(); |
458 | #endif | 458 | #endif |
459 | 459 | ||
diff --git a/src/lib/ecore/ecore_app.c b/src/lib/ecore/ecore_app.c index a2e9cd1fb3..ec420c6154 100644 --- a/src/lib/ecore/ecore_app.c +++ b/src/lib/ecore/ecore_app.c | |||
@@ -9,7 +9,7 @@ | |||
9 | # include <process.h> | 9 | # include <process.h> |
10 | #endif | 10 | #endif |
11 | 11 | ||
12 | #ifdef HAVE_EVIL | 12 | #ifdef _WIN32 |
13 | # include <Evil.h> | 13 | # include <Evil.h> |
14 | #endif | 14 | #endif |
15 | 15 | ||
diff --git a/src/lib/ecore/ecore_main.c b/src/lib/ecore/ecore_main.c index 967ee721fd..fe34371e06 100644 --- a/src/lib/ecore/ecore_main.c +++ b/src/lib/ecore/ecore_main.c | |||
@@ -53,7 +53,7 @@ | |||
53 | # endif | 53 | # endif |
54 | #endif | 54 | #endif |
55 | 55 | ||
56 | #ifdef HAVE_EVIL | 56 | #ifdef _WIN32 |
57 | # include <Evil.h> | 57 | # include <Evil.h> |
58 | #endif | 58 | #endif |
59 | 59 | ||
diff --git a/src/lib/ecore/ecore_pipe.c b/src/lib/ecore/ecore_pipe.c index e1d732d9d7..d85d0bf54f 100644 --- a/src/lib/ecore/ecore_pipe.c +++ b/src/lib/ecore/ecore_pipe.c | |||
@@ -32,7 +32,7 @@ | |||
32 | # endif | 32 | # endif |
33 | #endif | 33 | #endif |
34 | 34 | ||
35 | #ifdef HAVE_EVIL | 35 | #ifdef _WIN32 |
36 | # include <Evil.h> | 36 | # include <Evil.h> |
37 | #endif | 37 | #endif |
38 | 38 | ||
diff --git a/src/lib/ecore/ecore_thread.c b/src/lib/ecore/ecore_thread.c index 91e6aacfa7..480aa1ce80 100644 --- a/src/lib/ecore/ecore_thread.c +++ b/src/lib/ecore/ecore_thread.c | |||
@@ -8,7 +8,7 @@ | |||
8 | #include <sys/types.h> | 8 | #include <sys/types.h> |
9 | #include <unistd.h> | 9 | #include <unistd.h> |
10 | 10 | ||
11 | #ifdef HAVE_EVIL | 11 | #ifdef _WIN32 |
12 | # include <Evil.h> | 12 | # include <Evil.h> |
13 | #endif | 13 | #endif |
14 | 14 | ||
diff --git a/src/lib/ecore/ecore_time.c b/src/lib/ecore/ecore_time.c index 2c871e29d0..1fafd62179 100644 --- a/src/lib/ecore/ecore_time.c +++ b/src/lib/ecore/ecore_time.c | |||
@@ -5,7 +5,7 @@ | |||
5 | #include <stdlib.h> | 5 | #include <stdlib.h> |
6 | #include <sys/time.h> | 6 | #include <sys/time.h> |
7 | 7 | ||
8 | #ifdef HAVE_EVIL | 8 | #ifdef _WIN32 |
9 | # include <Evil.h> | 9 | # include <Evil.h> |
10 | #endif | 10 | #endif |
11 | 11 | ||
@@ -43,7 +43,7 @@ ecore_time_get(void) | |||
43 | } | 43 | } |
44 | 44 | ||
45 | return (double)t.tv_sec + (((double)t.tv_nsec) / 1000000000.0); | 45 | return (double)t.tv_sec + (((double)t.tv_nsec) / 1000000000.0); |
46 | #elif defined(HAVE_EVIL) | 46 | #elif defined(_WIN32) |
47 | return evil_time_get(); | 47 | return evil_time_get(); |
48 | #elif defined(__APPLE__) && defined(__MACH__) | 48 | #elif defined(__APPLE__) && defined(__MACH__) |
49 | return _ecore_time_clock_conversion * (double)mach_absolute_time(); | 49 | return _ecore_time_clock_conversion * (double)mach_absolute_time(); |
@@ -110,7 +110,7 @@ _ecore_time_init(void) | |||
110 | "Fallback to unix time."); | 110 | "Fallback to unix time."); |
111 | } | 111 | } |
112 | #else | 112 | #else |
113 | # ifndef HAVE_EVIL | 113 | # ifndef _WIN32 |
114 | # if defined(__APPLE__) && defined(__MACH__) | 114 | # if defined(__APPLE__) && defined(__MACH__) |
115 | mach_timebase_info_data_t info; | 115 | mach_timebase_info_data_t info; |
116 | kern_return_t err = mach_timebase_info(&info); | 116 | kern_return_t err = mach_timebase_info(&info); |
diff --git a/src/lib/ecore_con/ecore_con.c b/src/lib/ecore_con/ecore_con.c index ce881fa315..418add7aa1 100644 --- a/src/lib/ecore_con/ecore_con.c +++ b/src/lib/ecore_con/ecore_con.c | |||
@@ -42,7 +42,7 @@ | |||
42 | # include <ws2tcpip.h> | 42 | # include <ws2tcpip.h> |
43 | #endif | 43 | #endif |
44 | 44 | ||
45 | #ifdef HAVE_EVIL | 45 | #ifdef _WIN32 |
46 | # include <Evil.h> | 46 | # include <Evil.h> |
47 | #endif | 47 | #endif |
48 | 48 | ||
@@ -84,7 +84,7 @@ ecore_con_init(void) | |||
84 | if (++_ecore_con_init_count != 1) | 84 | if (++_ecore_con_init_count != 1) |
85 | return _ecore_con_init_count; | 85 | return _ecore_con_init_count; |
86 | 86 | ||
87 | #ifdef HAVE_EVIL | 87 | #ifdef _WIN32 |
88 | if (!evil_init()) | 88 | if (!evil_init()) |
89 | return --_ecore_con_init_count; | 89 | return --_ecore_con_init_count; |
90 | #endif | 90 | #endif |
@@ -129,7 +129,7 @@ ecore_con_log_error: | |||
129 | ecore_shutdown(); | 129 | ecore_shutdown(); |
130 | 130 | ||
131 | ecore_err: | 131 | ecore_err: |
132 | #ifdef HAVE_EVIL | 132 | #ifdef _WIN32 |
133 | evil_shutdown(); | 133 | evil_shutdown(); |
134 | #endif | 134 | #endif |
135 | return --_ecore_con_init_count; | 135 | return --_ecore_con_init_count; |
@@ -160,7 +160,7 @@ ecore_con_shutdown(void) | |||
160 | */ | 160 | */ |
161 | 161 | ||
162 | ecore_shutdown(); | 162 | ecore_shutdown(); |
163 | #ifdef HAVE_EVIL | 163 | #ifdef _WIN32 |
164 | evil_shutdown(); | 164 | evil_shutdown(); |
165 | #endif | 165 | #endif |
166 | 166 | ||
diff --git a/src/lib/ecore_con/ecore_con_legacy.c b/src/lib/ecore_con/ecore_con_legacy.c index ade01e222f..fa71139dca 100644 --- a/src/lib/ecore_con/ecore_con_legacy.c +++ b/src/lib/ecore_con/ecore_con_legacy.c | |||
@@ -10,7 +10,7 @@ | |||
10 | # include <sys/socket.h> | 10 | # include <sys/socket.h> |
11 | #endif | 11 | #endif |
12 | 12 | ||
13 | #ifdef HAVE_EVIL | 13 | #ifdef _WIN32 |
14 | # include <Evil.h> | 14 | # include <Evil.h> |
15 | #endif | 15 | #endif |
16 | 16 | ||
diff --git a/src/lib/ecore_con/ecore_con_proxy_helper.c b/src/lib/ecore_con/ecore_con_proxy_helper.c index 43feead87e..ff0253f055 100644 --- a/src/lib/ecore_con/ecore_con_proxy_helper.c +++ b/src/lib/ecore_con/ecore_con_proxy_helper.c | |||
@@ -10,7 +10,7 @@ | |||
10 | #include <unistd.h> | 10 | #include <unistd.h> |
11 | #include <fcntl.h> | 11 | #include <fcntl.h> |
12 | 12 | ||
13 | #ifdef HAVE_EVIL | 13 | #ifdef _WIN32 |
14 | # include <Evil.h> | 14 | # include <Evil.h> |
15 | #endif | 15 | #endif |
16 | 16 | ||
diff --git a/src/lib/ecore_con/ecore_con_socks.c b/src/lib/ecore_con/ecore_con_socks.c index a81d37505f..8138b26525 100644 --- a/src/lib/ecore_con/ecore_con_socks.c +++ b/src/lib/ecore_con/ecore_con_socks.c | |||
@@ -38,7 +38,7 @@ | |||
38 | # include <ws2tcpip.h> | 38 | # include <ws2tcpip.h> |
39 | #endif | 39 | #endif |
40 | 40 | ||
41 | #ifdef HAVE_EVIL | 41 | #ifdef _WIN32 |
42 | # include <Evil.h> | 42 | # include <Evil.h> |
43 | #endif | 43 | #endif |
44 | 44 | ||
diff --git a/src/lib/ecore_con/efl_net_dialer_ssl.c b/src/lib/ecore_con/efl_net_dialer_ssl.c index 6bdae468c8..eb68859325 100644 --- a/src/lib/ecore_con/efl_net_dialer_ssl.c +++ b/src/lib/ecore_con/efl_net_dialer_ssl.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #ifdef HAVE_ARPA_INET_H | 24 | #ifdef HAVE_ARPA_INET_H |
25 | # include <arpa/inet.h> | 25 | # include <arpa/inet.h> |
26 | #endif | 26 | #endif |
27 | #ifdef HAVE_EVIL | 27 | #ifdef _WIN32 |
28 | # include <Evil.h> | 28 | # include <Evil.h> |
29 | #endif | 29 | #endif |
30 | 30 | ||
diff --git a/src/lib/ecore_con/efl_net_dialer_tcp.c b/src/lib/ecore_con/efl_net_dialer_tcp.c index a9d87cfa6d..3b450441b1 100644 --- a/src/lib/ecore_con/efl_net_dialer_tcp.c +++ b/src/lib/ecore_con/efl_net_dialer_tcp.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #ifdef HAVE_ARPA_INET_H | 24 | #ifdef HAVE_ARPA_INET_H |
25 | # include <arpa/inet.h> | 25 | # include <arpa/inet.h> |
26 | #endif | 26 | #endif |
27 | #ifdef HAVE_EVIL | 27 | #ifdef _WIN32 |
28 | # include <Evil.h> | 28 | # include <Evil.h> |
29 | #endif | 29 | #endif |
30 | 30 | ||
diff --git a/src/lib/ecore_con/efl_net_dialer_udp.c b/src/lib/ecore_con/efl_net_dialer_udp.c index bd2bf7e617..c7541dee5f 100644 --- a/src/lib/ecore_con/efl_net_dialer_udp.c +++ b/src/lib/ecore_con/efl_net_dialer_udp.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #ifdef HAVE_ARPA_INET_H | 25 | #ifdef HAVE_ARPA_INET_H |
26 | # include <arpa/inet.h> | 26 | # include <arpa/inet.h> |
27 | #endif | 27 | #endif |
28 | #ifdef HAVE_EVIL | 28 | #ifdef _WIN32 |
29 | # include <Evil.h> | 29 | # include <Evil.h> |
30 | #endif | 30 | #endif |
31 | 31 | ||
diff --git a/src/lib/ecore_con/efl_net_ip_address.c b/src/lib/ecore_con/efl_net_ip_address.c index f5500e3dcd..252b6e6a22 100644 --- a/src/lib/ecore_con/efl_net_ip_address.c +++ b/src/lib/ecore_con/efl_net_ip_address.c | |||
@@ -8,7 +8,7 @@ | |||
8 | # include <arpa/inet.h> | 8 | # include <arpa/inet.h> |
9 | #endif | 9 | #endif |
10 | 10 | ||
11 | #ifdef HAVE_EVIL | 11 | #ifdef _WIN32 |
12 | # include <Evil.h> | 12 | # include <Evil.h> |
13 | #endif | 13 | #endif |
14 | 14 | ||
diff --git a/src/lib/ecore_con/efl_net_server_fd.c b/src/lib/ecore_con/efl_net_server_fd.c index f1ff38bd77..c04b6c2186 100644 --- a/src/lib/ecore_con/efl_net_server_fd.c +++ b/src/lib/ecore_con/efl_net_server_fd.c | |||
@@ -13,7 +13,7 @@ | |||
13 | #ifdef HAVE_SYS_SOCKET_H | 13 | #ifdef HAVE_SYS_SOCKET_H |
14 | # include <sys/socket.h> | 14 | # include <sys/socket.h> |
15 | #endif | 15 | #endif |
16 | #ifdef HAVE_EVIL | 16 | #ifdef _WIN32 |
17 | # include <Evil.h> | 17 | # include <Evil.h> |
18 | #endif | 18 | #endif |
19 | 19 | ||
diff --git a/src/lib/ecore_con/efl_net_server_tcp.c b/src/lib/ecore_con/efl_net_server_tcp.c index f82d57babe..de4da818a8 100644 --- a/src/lib/ecore_con/efl_net_server_tcp.c +++ b/src/lib/ecore_con/efl_net_server_tcp.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #ifdef HAVE_ARPA_INET_H | 23 | #ifdef HAVE_ARPA_INET_H |
24 | # include <arpa/inet.h> | 24 | # include <arpa/inet.h> |
25 | #endif | 25 | #endif |
26 | #ifdef HAVE_EVIL | 26 | #ifdef _WIN32 |
27 | # include <Evil.h> | 27 | # include <Evil.h> |
28 | #endif | 28 | #endif |
29 | 29 | ||
diff --git a/src/lib/ecore_con/efl_net_server_udp.c b/src/lib/ecore_con/efl_net_server_udp.c index f45fd615ee..9159929818 100644 --- a/src/lib/ecore_con/efl_net_server_udp.c +++ b/src/lib/ecore_con/efl_net_server_udp.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #ifdef HAVE_ARPA_INET_H | 25 | #ifdef HAVE_ARPA_INET_H |
26 | # include <arpa/inet.h> | 26 | # include <arpa/inet.h> |
27 | #endif | 27 | #endif |
28 | #ifdef HAVE_EVIL | 28 | #ifdef _WIN32 |
29 | # include <Evil.h> | 29 | # include <Evil.h> |
30 | #endif | 30 | #endif |
31 | 31 | ||
diff --git a/src/lib/ecore_con/efl_net_server_udp_client.c b/src/lib/ecore_con/efl_net_server_udp_client.c index e9ce54ca29..134a05cb65 100644 --- a/src/lib/ecore_con/efl_net_server_udp_client.c +++ b/src/lib/ecore_con/efl_net_server_udp_client.c | |||
@@ -15,7 +15,7 @@ | |||
15 | #ifdef HAVE_SYS_SOCKET_H | 15 | #ifdef HAVE_SYS_SOCKET_H |
16 | # include <sys/socket.h> | 16 | # include <sys/socket.h> |
17 | #endif | 17 | #endif |
18 | #ifdef HAVE_EVIL | 18 | #ifdef _WIN32 |
19 | # include <Evil.h> | 19 | # include <Evil.h> |
20 | #endif | 20 | #endif |
21 | 21 | ||
diff --git a/src/lib/ecore_con/efl_net_socket_fd.c b/src/lib/ecore_con/efl_net_socket_fd.c index e0e05d6328..d02e58663c 100644 --- a/src/lib/ecore_con/efl_net_socket_fd.c +++ b/src/lib/ecore_con/efl_net_socket_fd.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #ifdef HAVE_SYS_SOCKET_H | 20 | #ifdef HAVE_SYS_SOCKET_H |
21 | # include <sys/socket.h> | 21 | # include <sys/socket.h> |
22 | #endif | 22 | #endif |
23 | #ifdef HAVE_EVIL | 23 | #ifdef _WIN32 |
24 | # include <Evil.h> | 24 | # include <Evil.h> |
25 | #endif | 25 | #endif |
26 | 26 | ||
diff --git a/src/lib/ecore_con/efl_net_socket_tcp.c b/src/lib/ecore_con/efl_net_socket_tcp.c index 90096185c5..a6179bea8c 100644 --- a/src/lib/ecore_con/efl_net_socket_tcp.c +++ b/src/lib/ecore_con/efl_net_socket_tcp.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #ifdef HAVE_ARPA_INET_H | 29 | #ifdef HAVE_ARPA_INET_H |
30 | # include <arpa/inet.h> | 30 | # include <arpa/inet.h> |
31 | #endif | 31 | #endif |
32 | #ifdef HAVE_EVIL | 32 | #ifdef _WIN32 |
33 | # include <Evil.h> | 33 | # include <Evil.h> |
34 | #endif | 34 | #endif |
35 | 35 | ||
diff --git a/src/lib/ecore_con/efl_net_socket_udp.c b/src/lib/ecore_con/efl_net_socket_udp.c index f30a57a591..c887a964a5 100644 --- a/src/lib/ecore_con/efl_net_socket_udp.c +++ b/src/lib/ecore_con/efl_net_socket_udp.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #ifdef HAVE_ARPA_INET_H | 29 | #ifdef HAVE_ARPA_INET_H |
30 | # include <arpa/inet.h> | 30 | # include <arpa/inet.h> |
31 | #endif | 31 | #endif |
32 | #ifdef HAVE_EVIL | 32 | #ifdef _WIN32 |
33 | # include <Evil.h> | 33 | # include <Evil.h> |
34 | #endif | 34 | #endif |
35 | 35 | ||
diff --git a/src/lib/ecore_con/efl_net_ssl_conn-openssl.c b/src/lib/ecore_con/efl_net_ssl_conn-openssl.c index 88bb3bc204..37457e96b3 100644 --- a/src/lib/ecore_con/efl_net_ssl_conn-openssl.c +++ b/src/lib/ecore_con/efl_net_ssl_conn-openssl.c | |||
@@ -17,7 +17,7 @@ | |||
17 | # include <dlfcn.h> | 17 | # include <dlfcn.h> |
18 | #endif | 18 | #endif |
19 | 19 | ||
20 | #ifdef HAVE_EVIL | 20 | #ifdef _WIN32 |
21 | # include <Evil.h> | 21 | # include <Evil.h> |
22 | #endif | 22 | #endif |
23 | 23 | ||
diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c index 8874c34069..d510950cbf 100644 --- a/src/lib/ecore_evas/ecore_evas.c +++ b/src/lib/ecore_evas/ecore_evas.c | |||
@@ -16,11 +16,11 @@ | |||
16 | # include <unistd.h> | 16 | # include <unistd.h> |
17 | #endif | 17 | #endif |
18 | 18 | ||
19 | #if defined(HAVE_SYS_MMAN_H) || defined(HAVE_EVIL) | 19 | #if defined(HAVE_SYS_MMAN_H) || defined(_WIN32) |
20 | # include <sys/mman.h> | 20 | # include <sys/mman.h> |
21 | #endif | 21 | #endif |
22 | 22 | ||
23 | #ifdef HAVE_EVIL | 23 | #ifdef _WIN32 |
24 | # include <Evil.h> | 24 | # include <Evil.h> |
25 | #endif | 25 | #endif |
26 | 26 | ||
diff --git a/src/lib/ecore_file/ecore_file_private.h b/src/lib/ecore_file/ecore_file_private.h index 7c33ec8f34..9a02fffd6d 100644 --- a/src/lib/ecore_file/ecore_file_private.h +++ b/src/lib/ecore_file/ecore_file_private.h | |||
@@ -5,7 +5,7 @@ | |||
5 | # include <features.h> | 5 | # include <features.h> |
6 | #endif | 6 | #endif |
7 | 7 | ||
8 | #ifdef HAVE_EVIL | 8 | #ifdef _WIN32 |
9 | # include <Evil.h> | 9 | # include <Evil.h> |
10 | #endif | 10 | #endif |
11 | 11 | ||
diff --git a/src/lib/edje/edje_private.h b/src/lib/edje/edje_private.h index 090a79f25e..19421c03ed 100644 --- a/src/lib/edje/edje_private.h +++ b/src/lib/edje/edje_private.h | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <lauxlib.h> | 35 | #include <lauxlib.h> |
36 | #include <setjmp.h> | 36 | #include <setjmp.h> |
37 | 37 | ||
38 | #ifdef HAVE_EVIL | 38 | #ifdef _WIN32 |
39 | # include <Evil.h> | 39 | # include <Evil.h> |
40 | #endif | 40 | #endif |
41 | 41 | ||
diff --git a/src/lib/eet/eet_lib.c b/src/lib/eet/eet_lib.c index e74e5e9a2e..99cd033097 100644 --- a/src/lib/eet/eet_lib.c +++ b/src/lib/eet/eet_lib.c | |||
@@ -20,9 +20,9 @@ | |||
20 | # include <netinet/in.h> | 20 | # include <netinet/in.h> |
21 | #endif | 21 | #endif |
22 | 22 | ||
23 | #ifdef HAVE_EVIL | 23 | #ifdef _WIN32 |
24 | # include <Evil.h> | 24 | # include <Evil.h> |
25 | #endif /* ifdef HAVE_EVIL */ | 25 | #endif /* ifdef _WIN32 */ |
26 | 26 | ||
27 | #include <Eina.h> | 27 | #include <Eina.h> |
28 | #include <Emile.h> | 28 | #include <Emile.h> |
diff --git a/src/lib/eet/eet_node.c b/src/lib/eet/eet_node.c index 3f1bde44ac..76c705a299 100644 --- a/src/lib/eet/eet_node.c +++ b/src/lib/eet/eet_node.c | |||
@@ -5,9 +5,9 @@ | |||
5 | #include <string.h> | 5 | #include <string.h> |
6 | #include <stdio.h> | 6 | #include <stdio.h> |
7 | 7 | ||
8 | #ifdef HAVE_EVIL | 8 | #ifdef _WIN32 |
9 | # include <Evil.h> | 9 | # include <Evil.h> |
10 | #endif /* ifdef HAVE_EVIL */ | 10 | #endif /* ifdef _WIN32 */ |
11 | 11 | ||
12 | #include <Eina.h> | 12 | #include <Eina.h> |
13 | 13 | ||
diff --git a/src/lib/efreet/efreet_desktop.c b/src/lib/efreet/efreet_desktop.c index 4a4f4d1564..949fd567fc 100644 --- a/src/lib/efreet/efreet_desktop.c +++ b/src/lib/efreet/efreet_desktop.c | |||
@@ -2,7 +2,7 @@ | |||
2 | # include <config.h> | 2 | # include <config.h> |
3 | #endif | 3 | #endif |
4 | 4 | ||
5 | #ifdef HAVE_EVIL | 5 | #ifdef _WIN32 |
6 | # include <Evil.h> | 6 | # include <Evil.h> |
7 | #endif | 7 | #endif |
8 | 8 | ||
@@ -91,7 +91,7 @@ efreet_desktop_init(void) | |||
91 | return 0; | 91 | return 0; |
92 | } | 92 | } |
93 | 93 | ||
94 | #ifdef HAVE_EVIL | 94 | #ifdef _WIN32 |
95 | if (!evil_sockets_init()) | 95 | if (!evil_sockets_init()) |
96 | { | 96 | { |
97 | ERR("Could not initialize Winsock system"); | 97 | ERR("Could not initialize Winsock system"); |
@@ -138,7 +138,7 @@ efreet_desktop_shutdown(void) | |||
138 | EINA_LIST_FREE(efreet_desktop_types, info) | 138 | EINA_LIST_FREE(efreet_desktop_types, info) |
139 | efreet_desktop_type_info_free(info); | 139 | efreet_desktop_type_info_free(info); |
140 | eina_lock_free(&_lock); | 140 | eina_lock_free(&_lock); |
141 | #ifdef HAVE_EVIL | 141 | #ifdef _WIN32 |
142 | evil_sockets_shutdown(); | 142 | evil_sockets_shutdown(); |
143 | #endif | 143 | #endif |
144 | eina_log_domain_unregister(_efreet_desktop_log_dom); | 144 | eina_log_domain_unregister(_efreet_desktop_log_dom); |
diff --git a/src/lib/efreet/efreet_uri.c b/src/lib/efreet/efreet_uri.c index de224a6e86..36a090f60f 100644 --- a/src/lib/efreet/efreet_uri.c +++ b/src/lib/efreet/efreet_uri.c | |||
@@ -8,7 +8,7 @@ | |||
8 | #define _POSIX_HOST_NAME_MAX 255 | 8 | #define _POSIX_HOST_NAME_MAX 255 |
9 | #endif | 9 | #endif |
10 | 10 | ||
11 | #ifdef HAVE_EVIL | 11 | #ifdef _WIN32 |
12 | # include <Evil.h> | 12 | # include <Evil.h> |
13 | #endif | 13 | #endif |
14 | 14 | ||
diff --git a/src/lib/eina/eina_benchmark.c b/src/lib/eina/eina_benchmark.c index 6583e753e2..faf5e027e1 100644 --- a/src/lib/eina/eina_benchmark.c +++ b/src/lib/eina/eina_benchmark.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <stdio.h> | 24 | #include <stdio.h> |
25 | #include <string.h> | 25 | #include <string.h> |
26 | 26 | ||
27 | #ifdef HAVE_EVIL | 27 | #ifdef _WIN32 |
28 | # include <Evil.h> | 28 | # include <Evil.h> |
29 | #endif | 29 | #endif |
30 | 30 | ||
diff --git a/src/lib/eina/eina_binbuf.c b/src/lib/eina/eina_binbuf.c index ebc65885c2..c8623a3e99 100644 --- a/src/lib/eina/eina_binbuf.c +++ b/src/lib/eina/eina_binbuf.c | |||
@@ -5,7 +5,7 @@ | |||
5 | #include <stdio.h> | 5 | #include <stdio.h> |
6 | #include <string.h> | 6 | #include <string.h> |
7 | 7 | ||
8 | #ifdef HAVE_EVIL | 8 | #ifdef _WIN32 |
9 | # include <Evil.h> | 9 | # include <Evil.h> |
10 | #endif | 10 | #endif |
11 | 11 | ||
diff --git a/src/lib/eina/eina_convert.c b/src/lib/eina/eina_convert.c index 800a167e7d..2943b37343 100644 --- a/src/lib/eina/eina_convert.c +++ b/src/lib/eina/eina_convert.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <string.h> | 25 | #include <string.h> |
26 | #include <stdio.h> | 26 | #include <stdio.h> |
27 | 27 | ||
28 | #ifdef HAVE_EVIL | 28 | #ifdef _WIN32 |
29 | # include <Evil.h> | 29 | # include <Evil.h> |
30 | #endif | 30 | #endif |
31 | 31 | ||
diff --git a/src/lib/eina/eina_error.c b/src/lib/eina/eina_error.c index 779739d4ea..a7faadeb3b 100644 --- a/src/lib/eina/eina_error.c +++ b/src/lib/eina/eina_error.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <stdlib.h> | 25 | #include <stdlib.h> |
26 | #include <stdint.h> | 26 | #include <stdint.h> |
27 | 27 | ||
28 | #ifdef HAVE_EVIL | 28 | #ifdef _WIN32 |
29 | # include <Evil.h> | 29 | # include <Evil.h> |
30 | #endif | 30 | #endif |
31 | 31 | ||
diff --git a/src/lib/eina/eina_evlog.c b/src/lib/eina/eina_evlog.c index 90af6104a7..9c9cbccdaf 100644 --- a/src/lib/eina/eina_evlog.c +++ b/src/lib/eina/eina_evlog.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include "eina_evlog.h" | 24 | #include "eina_evlog.h" |
25 | #include "eina_debug.h" | 25 | #include "eina_debug.h" |
26 | 26 | ||
27 | #ifdef HAVE_EVIL | 27 | #ifdef _WIN32 |
28 | # include <Evil.h> | 28 | # include <Evil.h> |
29 | #endif | 29 | #endif |
30 | 30 | ||
@@ -80,7 +80,7 @@ get_time(void) | |||
80 | return (double)timev.tv_sec + (((double)timev.tv_usec) / 1000000.0); | 80 | return (double)timev.tv_sec + (((double)timev.tv_usec) / 1000000.0); |
81 | } | 81 | } |
82 | return (double)t.tv_sec + (((double)t.tv_nsec) / 1000000000.0); | 82 | return (double)t.tv_sec + (((double)t.tv_nsec) / 1000000000.0); |
83 | #elif defined(HAVE_EVIL) | 83 | #elif defined(_WIN32) |
84 | return evil_time_get(); | 84 | return evil_time_get(); |
85 | #elif defined(__APPLE__) && defined(__MACH__) | 85 | #elif defined(__APPLE__) && defined(__MACH__) |
86 | return _eina_evlog_time_clock_conversion * (double)mach_absolute_time(); | 86 | return _eina_evlog_time_clock_conversion * (double)mach_absolute_time(); |
diff --git a/src/lib/eina/eina_file_common.c b/src/lib/eina/eina_file_common.c index 91036398cc..c5a367d079 100644 --- a/src/lib/eina/eina_file_common.c +++ b/src/lib/eina/eina_file_common.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include <fcntl.h> | 30 | #include <fcntl.h> |
31 | #include <errno.h> | 31 | #include <errno.h> |
32 | 32 | ||
33 | #ifdef HAVE_EVIL | 33 | #ifdef _WIN32 |
34 | # include <Evil.h> | 34 | # include <Evil.h> |
35 | #endif | 35 | #endif |
36 | 36 | ||
diff --git a/src/lib/eina/eina_list.c b/src/lib/eina/eina_list.c index 72dc8134bf..9192b4c332 100644 --- a/src/lib/eina/eina_list.c +++ b/src/lib/eina/eina_list.c | |||
@@ -62,7 +62,7 @@ | |||
62 | #include <string.h> | 62 | #include <string.h> |
63 | #include <time.h> | 63 | #include <time.h> |
64 | 64 | ||
65 | #ifdef HAVE_EVIL | 65 | #ifdef _WIN32 |
66 | # include <Evil.h> | 66 | # include <Evil.h> |
67 | #endif | 67 | #endif |
68 | 68 | ||
diff --git a/src/lib/eina/eina_log.c b/src/lib/eina/eina_log.c index 2b2a240d54..68cb948232 100644 --- a/src/lib/eina/eina_log.c +++ b/src/lib/eina/eina_log.c | |||
@@ -33,7 +33,7 @@ | |||
33 | # include <systemd/sd-journal.h> | 33 | # include <systemd/sd-journal.h> |
34 | #endif | 34 | #endif |
35 | 35 | ||
36 | #ifdef HAVE_EVIL | 36 | #ifdef _WIN32 |
37 | # include <Evil.h> | 37 | # include <Evil.h> |
38 | #endif | 38 | #endif |
39 | 39 | ||
diff --git a/src/lib/eina/eina_magic.c b/src/lib/eina/eina_magic.c index 6b26da68e4..390ed62254 100644 --- a/src/lib/eina/eina_magic.c +++ b/src/lib/eina/eina_magic.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <stdlib.h> | 23 | #include <stdlib.h> |
24 | #include <string.h> | 24 | #include <string.h> |
25 | 25 | ||
26 | #ifdef HAVE_EVIL | 26 | #ifdef _WIN32 |
27 | # include <Evil.h> | 27 | # include <Evil.h> |
28 | #endif | 28 | #endif |
29 | 29 | ||
diff --git a/src/lib/eina/eina_matrixsparse.c b/src/lib/eina/eina_matrixsparse.c index 47a10ae838..eb85ddec42 100644 --- a/src/lib/eina/eina_matrixsparse.c +++ b/src/lib/eina/eina_matrixsparse.c | |||
@@ -33,7 +33,7 @@ | |||
33 | #include <string.h> | 33 | #include <string.h> |
34 | #include <assert.h> | 34 | #include <assert.h> |
35 | 35 | ||
36 | #ifdef HAVE_EVIL | 36 | #ifdef _WIN32 |
37 | # include <Evil.h> | 37 | # include <Evil.h> |
38 | #endif | 38 | #endif |
39 | 39 | ||
diff --git a/src/lib/eina/eina_module.c b/src/lib/eina/eina_module.c index 15b82108bf..d670371479 100644 --- a/src/lib/eina/eina_module.c +++ b/src/lib/eina/eina_module.c | |||
@@ -31,7 +31,7 @@ | |||
31 | # include <dlfcn.h> | 31 | # include <dlfcn.h> |
32 | #endif | 32 | #endif |
33 | 33 | ||
34 | #ifdef HAVE_EVIL | 34 | #ifdef _WIN32 |
35 | # include <Evil.h> | 35 | # include <Evil.h> |
36 | #endif | 36 | #endif |
37 | 37 | ||
diff --git a/src/lib/eina/eina_prefix.c b/src/lib/eina/eina_prefix.c index 2165d050c8..26f07f8caf 100644 --- a/src/lib/eina/eina_prefix.c +++ b/src/lib/eina/eina_prefix.c | |||
@@ -41,7 +41,7 @@ | |||
41 | # include <dlfcn.h> | 41 | # include <dlfcn.h> |
42 | #endif | 42 | #endif |
43 | 43 | ||
44 | #ifdef HAVE_EVIL | 44 | #ifdef _WIN32 |
45 | # include <Evil.h> | 45 | # include <Evil.h> |
46 | #endif | 46 | #endif |
47 | 47 | ||
diff --git a/src/lib/eina/eina_quadtree.c b/src/lib/eina/eina_quadtree.c index 246def7ba9..1f50fd5d02 100644 --- a/src/lib/eina/eina_quadtree.c +++ b/src/lib/eina/eina_quadtree.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include <stdlib.h> | 30 | #include <stdlib.h> |
31 | #include <stdio.h> | 31 | #include <stdio.h> |
32 | 32 | ||
33 | #ifdef HAVE_EVIL | 33 | #ifdef _WIN32 |
34 | # include <Evil.h> | 34 | # include <Evil.h> |
35 | #endif | 35 | #endif |
36 | 36 | ||
diff --git a/src/lib/eina/eina_rectangle.c b/src/lib/eina/eina_rectangle.c index a3e8bff8d5..b6eadeb2f4 100644 --- a/src/lib/eina/eina_rectangle.c +++ b/src/lib/eina/eina_rectangle.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <stdio.h> | 23 | #include <stdio.h> |
24 | #include <stdlib.h> | 24 | #include <stdlib.h> |
25 | 25 | ||
26 | #ifdef HAVE_EVIL | 26 | #ifdef _WIN32 |
27 | # include <Evil.h> | 27 | # include <Evil.h> |
28 | #endif | 28 | #endif |
29 | 29 | ||
diff --git a/src/lib/eina/eina_share_common.c b/src/lib/eina/eina_share_common.c index 7fb8f90a96..6ad55b7053 100644 --- a/src/lib/eina/eina_share_common.c +++ b/src/lib/eina/eina_share_common.c | |||
@@ -63,7 +63,7 @@ | |||
63 | #include <string.h> | 63 | #include <string.h> |
64 | #include <stddef.h> | 64 | #include <stddef.h> |
65 | 65 | ||
66 | #ifdef HAVE_EVIL | 66 | #ifdef _WIN32 |
67 | # include <Evil.h> | 67 | # include <Evil.h> |
68 | #endif | 68 | #endif |
69 | 69 | ||
diff --git a/src/lib/eina/eina_simple_xml_parser.c b/src/lib/eina/eina_simple_xml_parser.c index 93e1416221..3b218da215 100644 --- a/src/lib/eina/eina_simple_xml_parser.c +++ b/src/lib/eina/eina_simple_xml_parser.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <string.h> | 26 | #include <string.h> |
27 | #include <ctype.h> | 27 | #include <ctype.h> |
28 | 28 | ||
29 | #ifdef HAVE_EVIL | 29 | #ifdef _WIN32 |
30 | # include <Evil.h> | 30 | # include <Evil.h> |
31 | #endif | 31 | #endif |
32 | 32 | ||
diff --git a/src/lib/eina/eina_strbuf.c b/src/lib/eina/eina_strbuf.c index 81ab30a45f..586bffb21c 100644 --- a/src/lib/eina/eina_strbuf.c +++ b/src/lib/eina/eina_strbuf.c | |||
@@ -6,7 +6,7 @@ | |||
6 | #include <string.h> | 6 | #include <string.h> |
7 | #include <ctype.h> | 7 | #include <ctype.h> |
8 | 8 | ||
9 | #ifdef HAVE_EVIL | 9 | #ifdef _WIN32 |
10 | # include <Evil.h> | 10 | # include <Evil.h> |
11 | #endif | 11 | #endif |
12 | 12 | ||
diff --git a/src/lib/eina/eina_stringshare.c b/src/lib/eina/eina_stringshare.c index 588865d50e..f8510de725 100644 --- a/src/lib/eina/eina_stringshare.c +++ b/src/lib/eina/eina_stringshare.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include <stdio.h> | 30 | #include <stdio.h> |
31 | #include <string.h> | 31 | #include <string.h> |
32 | 32 | ||
33 | #ifdef HAVE_EVIL | 33 | #ifdef _WIN32 |
34 | # include <Evil.h> | 34 | # include <Evil.h> |
35 | #endif | 35 | #endif |
36 | 36 | ||
diff --git a/src/lib/eina/eina_tmpstr.c b/src/lib/eina/eina_tmpstr.c index c7d26ee2d6..9dbbe7d17c 100644 --- a/src/lib/eina/eina_tmpstr.c +++ b/src/lib/eina/eina_tmpstr.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <stdio.h> | 26 | #include <stdio.h> |
27 | #include <string.h> | 27 | #include <string.h> |
28 | 28 | ||
29 | #ifdef HAVE_EVIL | 29 | #ifdef _WIN32 |
30 | # include <Evil.h> | 30 | # include <Evil.h> |
31 | #endif | 31 | #endif |
32 | 32 | ||
diff --git a/src/lib/eina/eina_value.c b/src/lib/eina/eina_value.c index f22718b147..63c26ce5d8 100644 --- a/src/lib/eina/eina_value.c +++ b/src/lib/eina/eina_value.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <inttypes.h> /* PRId64 and PRIu64 */ | 24 | #include <inttypes.h> /* PRId64 and PRIu64 */ |
25 | #include <sys/time.h> /* struct timeval */ | 25 | #include <sys/time.h> /* struct timeval */ |
26 | 26 | ||
27 | #ifdef HAVE_EVIL | 27 | #ifdef _WIN32 |
28 | # include <Evil.h> | 28 | # include <Evil.h> |
29 | #endif | 29 | #endif |
30 | 30 | ||
diff --git a/src/lib/eina/eina_value_util.c b/src/lib/eina/eina_value_util.c index 73923d8663..3d35a47838 100644 --- a/src/lib/eina/eina_value_util.c +++ b/src/lib/eina/eina_value_util.c | |||
@@ -22,7 +22,7 @@ | |||
22 | 22 | ||
23 | #include <time.h> | 23 | #include <time.h> |
24 | 24 | ||
25 | #ifdef HAVE_EVIL | 25 | #ifdef _WIN32 |
26 | # include <Evil.h> | 26 | # include <Evil.h> |
27 | #endif | 27 | #endif |
28 | 28 | ||
diff --git a/src/lib/eio/eio_private.h b/src/lib/eio/eio_private.h index a81d94f3fa..62c3fc8550 100644 --- a/src/lib/eio/eio_private.h +++ b/src/lib/eio/eio_private.h | |||
@@ -47,7 +47,7 @@ | |||
47 | # include <features.h> | 47 | # include <features.h> |
48 | #endif | 48 | #endif |
49 | 49 | ||
50 | #ifdef HAVE_EVIL | 50 | #ifdef _WIN32 |
51 | # include <Evil.h> | 51 | # include <Evil.h> |
52 | #endif | 52 | #endif |
53 | 53 | ||
diff --git a/src/lib/elementary/efl_ui_clock.c b/src/lib/elementary/efl_ui_clock.c index 6f579549dc..b8927bfaf6 100644 --- a/src/lib/elementary/efl_ui_clock.c +++ b/src/lib/elementary/efl_ui_clock.c | |||
@@ -144,7 +144,7 @@ _expanded_fmt_str_get(char ch) | |||
144 | switch (ch) | 144 | switch (ch) |
145 | { | 145 | { |
146 | case 'c': | 146 | case 'c': |
147 | #if defined(HAVE_LANGINFO_H) || defined (HAVE_EVIL) | 147 | #if defined(HAVE_LANGINFO_H) || defined (_WIN32) |
148 | exp_fmt = nl_langinfo(D_T_FMT); | 148 | exp_fmt = nl_langinfo(D_T_FMT); |
149 | #else | 149 | #else |
150 | exp_fmt = ""; | 150 | exp_fmt = ""; |
@@ -152,7 +152,7 @@ _expanded_fmt_str_get(char ch) | |||
152 | break; | 152 | break; |
153 | 153 | ||
154 | case 'x': | 154 | case 'x': |
155 | #if defined(HAVE_LANGINFO_H) || defined (HAVE_EVIL) | 155 | #if defined(HAVE_LANGINFO_H) || defined (_WIN32) |
156 | exp_fmt = nl_langinfo(D_FMT); | 156 | exp_fmt = nl_langinfo(D_FMT); |
157 | #else | 157 | #else |
158 | exp_fmt = ""; | 158 | exp_fmt = ""; |
@@ -160,7 +160,7 @@ _expanded_fmt_str_get(char ch) | |||
160 | break; | 160 | break; |
161 | 161 | ||
162 | case 'X': | 162 | case 'X': |
163 | #if defined(HAVE_LANGINFO_H) || defined (HAVE_EVIL) | 163 | #if defined(HAVE_LANGINFO_H) || defined (_WIN32) |
164 | exp_fmt = nl_langinfo(T_FMT); | 164 | exp_fmt = nl_langinfo(T_FMT); |
165 | #else | 165 | #else |
166 | exp_fmt = ""; | 166 | exp_fmt = ""; |
@@ -168,7 +168,7 @@ _expanded_fmt_str_get(char ch) | |||
168 | break; | 168 | break; |
169 | 169 | ||
170 | case 'r': | 170 | case 'r': |
171 | #if defined(HAVE_LANGINFO_H) || defined (HAVE_EVIL) | 171 | #if defined(HAVE_LANGINFO_H) || defined (_WIN32) |
172 | exp_fmt = nl_langinfo(T_FMT_AMPM); | 172 | exp_fmt = nl_langinfo(T_FMT_AMPM); |
173 | #else | 173 | #else |
174 | exp_fmt = ""; | 174 | exp_fmt = ""; |
@@ -347,7 +347,7 @@ _reload_format(Evas_Object *obj) | |||
347 | // FIXME: provide nl_langinfo on Windows if possible | 347 | // FIXME: provide nl_langinfo on Windows if possible |
348 | // fetch the default format from Libc. | 348 | // fetch the default format from Libc. |
349 | if (!sd->user_format) | 349 | if (!sd->user_format) |
350 | #if defined(HAVE_LANGINFO_H) || defined (HAVE_EVIL) | 350 | #if defined(HAVE_LANGINFO_H) || defined (_WIN32) |
351 | strncpy(sd->format, nl_langinfo(D_T_FMT), EFL_UI_CLOCK_MAX_FORMAT_LEN); | 351 | strncpy(sd->format, nl_langinfo(D_T_FMT), EFL_UI_CLOCK_MAX_FORMAT_LEN); |
352 | #else | 352 | #else |
353 | strncpy(sd->format, "", EFL_UI_CLOCK_MAX_FORMAT_LEN); | 353 | strncpy(sd->format, "", EFL_UI_CLOCK_MAX_FORMAT_LEN); |
diff --git a/src/lib/elementary/elm_font.c b/src/lib/elementary/elm_font.c index 797ecad02f..cffaa5a291 100644 --- a/src/lib/elementary/elm_font.c +++ b/src/lib/elementary/elm_font.c | |||
@@ -2,7 +2,7 @@ | |||
2 | # include "elementary_config.h" | 2 | # include "elementary_config.h" |
3 | #endif | 3 | #endif |
4 | 4 | ||
5 | #ifdef HAVE_EVIL | 5 | #ifdef _WIN32 |
6 | # include <Evil.h> | 6 | # include <Evil.h> |
7 | #endif | 7 | #endif |
8 | 8 | ||
diff --git a/src/lib/elementary/elm_main.c b/src/lib/elementary/elm_main.c index 40903ef9c0..c82050e944 100644 --- a/src/lib/elementary/elm_main.c +++ b/src/lib/elementary/elm_main.c | |||
@@ -10,7 +10,7 @@ | |||
10 | # include <crt_externs.h> | 10 | # include <crt_externs.h> |
11 | #endif | 11 | #endif |
12 | 12 | ||
13 | #ifdef HAVE_EVIL | 13 | #ifdef _WIN32 |
14 | # include <Evil.h> | 14 | # include <Evil.h> |
15 | #endif | 15 | #endif |
16 | 16 | ||
diff --git a/src/lib/elua/elua_private.h b/src/lib/elua/elua_private.h index 9f62c5ff4b..f4392f604b 100644 --- a/src/lib/elua/elua_private.h +++ b/src/lib/elua/elua_private.h | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <Eina.h> | 20 | #include <Eina.h> |
21 | #include <Ecore.h> | 21 | #include <Ecore.h> |
22 | 22 | ||
23 | #ifdef HAVE_EVIL | 23 | #ifdef _WIN32 |
24 | #include <Evil.h> | 24 | #include <Evil.h> |
25 | #endif | 25 | #endif |
26 | 26 | ||
diff --git a/src/lib/embryo/embryo_time.c b/src/lib/embryo/embryo_time.c index ce167cb4ff..1e74816458 100644 --- a/src/lib/embryo/embryo_time.c +++ b/src/lib/embryo/embryo_time.c | |||
@@ -9,7 +9,7 @@ | |||
9 | # include <winsock2.h> | 9 | # include <winsock2.h> |
10 | #endif | 10 | #endif |
11 | 11 | ||
12 | #ifdef HAVE_EVIL | 12 | #ifdef _WIN32 |
13 | # include <Evil.h> | 13 | # include <Evil.h> |
14 | #endif | 14 | #endif |
15 | 15 | ||
diff --git a/src/lib/emile/emile_image.c b/src/lib/emile/emile_image.c index bb94f2cf3d..858e79058a 100644 --- a/src/lib/emile/emile_image.c +++ b/src/lib/emile/emile_image.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <jpeglib.h> | 25 | #include <jpeglib.h> |
26 | #include <jerror.h> | 26 | #include <jerror.h> |
27 | 27 | ||
28 | #ifdef HAVE_EVIL | 28 | #ifdef _WIN32 |
29 | #include <Evil.h> | 29 | #include <Evil.h> |
30 | #endif | 30 | #endif |
31 | 31 | ||
diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c index b1e56481ea..b4bd760b44 100644 --- a/src/lib/eo/eo.c +++ b/src/lib/eo/eo.c | |||
@@ -8,7 +8,7 @@ | |||
8 | 8 | ||
9 | #include <Eina.h> | 9 | #include <Eina.h> |
10 | 10 | ||
11 | #ifdef HAVE_EVIL | 11 | #ifdef _WIN32 |
12 | # include <Evil.h> | 12 | # include <Evil.h> |
13 | #endif | 13 | #endif |
14 | 14 | ||
@@ -2560,7 +2560,7 @@ efl_callbacks_cmp(const Efl_Callback_Array_Item *a, const Efl_Callback_Array_Ite | |||
2560 | static inline double | 2560 | static inline double |
2561 | _eo_log_time_now(void) | 2561 | _eo_log_time_now(void) |
2562 | { | 2562 | { |
2563 | #ifdef HAVE_EVIL | 2563 | #ifdef _WIN32 |
2564 | return evil_time_get(); | 2564 | return evil_time_get(); |
2565 | #elif defined(__APPLE__) && defined(__MACH__) | 2565 | #elif defined(__APPLE__) && defined(__MACH__) |
2566 | static double clk_conv = -1.0; | 2566 | static double clk_conv = -1.0; |
@@ -2693,7 +2693,7 @@ _eo_log_obj_entry_show(const Eo_Log_Obj_Entry *entry, int log_level, const char | |||
2693 | { | 2693 | { |
2694 | const char *fname; | 2694 | const char *fname; |
2695 | 2695 | ||
2696 | #ifdef HAVE_EVIL | 2696 | #ifdef _WIN32 |
2697 | fname = strrchr(info.dli_fname, '\\'); | 2697 | fname = strrchr(info.dli_fname, '\\'); |
2698 | #else | 2698 | #else |
2699 | fname = strrchr(info.dli_fname, '/'); | 2699 | fname = strrchr(info.dli_fname, '/'); |
diff --git a/src/lib/ephysics/ephysics_private.h b/src/lib/ephysics/ephysics_private.h index e8aeb20d06..ded1d14011 100644 --- a/src/lib/ephysics/ephysics_private.h +++ b/src/lib/ephysics/ephysics_private.h | |||
@@ -1,7 +1,7 @@ | |||
1 | #ifndef _EPHYSICS_PRIVATE_H | 1 | #ifndef _EPHYSICS_PRIVATE_H |
2 | #define _EPHYSICS_PRIVATE_H | 2 | #define _EPHYSICS_PRIVATE_H |
3 | 3 | ||
4 | #ifdef HAVE_EVIL | 4 | #ifdef _WIN32 |
5 | # include <Evil.h> | 5 | # include <Evil.h> |
6 | #endif | 6 | #endif |
7 | 7 | ||
diff --git a/src/lib/ethumb/ethumb.c b/src/lib/ethumb/ethumb.c index 7737b01fb9..13ee30c264 100644 --- a/src/lib/ethumb/ethumb.c +++ b/src/lib/ethumb/ethumb.c | |||
@@ -52,7 +52,7 @@ | |||
52 | # define PATH_MAX 4096 | 52 | # define PATH_MAX 4096 |
53 | #endif | 53 | #endif |
54 | 54 | ||
55 | #ifdef HAVE_EVIL | 55 | #ifdef _WIN32 |
56 | # include <Evil.h> | 56 | # include <Evil.h> |
57 | #endif | 57 | #endif |
58 | 58 | ||
diff --git a/src/lib/evas/cache/evas_cache_image.c b/src/lib/evas/cache/evas_cache_image.c index 138aff82a3..859d132e64 100644 --- a/src/lib/evas/cache/evas_cache_image.c +++ b/src/lib/evas/cache/evas_cache_image.c | |||
@@ -8,7 +8,7 @@ | |||
8 | #include <sys/stat.h> | 8 | #include <sys/stat.h> |
9 | #include <errno.h> | 9 | #include <errno.h> |
10 | 10 | ||
11 | #ifdef HAVE_EVIL | 11 | #ifdef _WIN32 |
12 | # include <Evil.h> | 12 | # include <Evil.h> |
13 | #endif | 13 | #endif |
14 | 14 | ||
diff --git a/src/lib/evas/cache/evas_preload.c b/src/lib/evas/cache/evas_preload.c index 649309d173..c71e5ed7d5 100644 --- a/src/lib/evas/cache/evas_preload.c +++ b/src/lib/evas/cache/evas_preload.c | |||
@@ -1,7 +1,7 @@ | |||
1 | #ifdef HAVE_CONFIG_H | 1 | #ifdef HAVE_CONFIG_H |
2 | # include <config.h> | 2 | # include <config.h> |
3 | #endif | 3 | #endif |
4 | #ifdef HAVE_EVIL | 4 | #ifdef _WIN32 |
5 | # include <Evil.h> | 5 | # include <Evil.h> |
6 | #endif | 6 | #endif |
7 | #ifdef __linux__ | 7 | #ifdef __linux__ |
diff --git a/src/lib/evas/cache2/evas_cache2.c b/src/lib/evas/cache2/evas_cache2.c index 996a2a4c5c..c791e9999d 100644 --- a/src/lib/evas/cache2/evas_cache2.c +++ b/src/lib/evas/cache2/evas_cache2.c | |||
@@ -8,7 +8,7 @@ | |||
8 | #include <sys/stat.h> | 8 | #include <sys/stat.h> |
9 | #include <errno.h> | 9 | #include <errno.h> |
10 | 10 | ||
11 | #ifdef HAVE_EVIL | 11 | #ifdef _WIN32 |
12 | # include <Evil.h> | 12 | # include <Evil.h> |
13 | #endif | 13 | #endif |
14 | 14 | ||
diff --git a/src/lib/evas/canvas/evas_font_dir.c b/src/lib/evas/canvas/evas_font_dir.c index 361e0fdb79..80e37fad08 100644 --- a/src/lib/evas/canvas/evas_font_dir.c +++ b/src/lib/evas/canvas/evas_font_dir.c | |||
@@ -2,7 +2,7 @@ | |||
2 | # include <config.h> | 2 | # include <config.h> |
3 | #endif | 3 | #endif |
4 | 4 | ||
5 | #ifdef HAVE_EVIL | 5 | #ifdef _WIN32 |
6 | # include <Evil.h> | 6 | # include <Evil.h> |
7 | #endif | 7 | #endif |
8 | 8 | ||
diff --git a/src/lib/evas/canvas/evas_main.c b/src/lib/evas/canvas/evas_main.c index 246205b537..fb73145010 100644 --- a/src/lib/evas/canvas/evas_main.c +++ b/src/lib/evas/canvas/evas_main.c | |||
@@ -40,7 +40,7 @@ evas_init(void) | |||
40 | } | 40 | } |
41 | #endif | 41 | #endif |
42 | 42 | ||
43 | #ifdef HAVE_EVIL | 43 | #ifdef _WIN32 |
44 | if (!evil_init()) | 44 | if (!evil_init()) |
45 | return --_evas_init_count; | 45 | return --_evas_init_count; |
46 | #endif | 46 | #endif |
@@ -118,7 +118,7 @@ evas_init(void) | |||
118 | shutdown_eina: | 118 | shutdown_eina: |
119 | eina_shutdown(); | 119 | eina_shutdown(); |
120 | shutdown_evil: | 120 | shutdown_evil: |
121 | #ifdef HAVE_EVIL | 121 | #ifdef _WIN32 |
122 | evil_shutdown(); | 122 | evil_shutdown(); |
123 | #endif | 123 | #endif |
124 | 124 | ||
@@ -185,7 +185,7 @@ evas_shutdown(void) | |||
185 | eet_shutdown(); | 185 | eet_shutdown(); |
186 | 186 | ||
187 | eina_shutdown(); | 187 | eina_shutdown(); |
188 | #ifdef HAVE_EVIL | 188 | #ifdef _WIN32 |
189 | evil_shutdown(); | 189 | evil_shutdown(); |
190 | #endif | 190 | #endif |
191 | 191 | ||
diff --git a/src/lib/evas/common/evas_image_scalecache.c b/src/lib/evas/common/evas_image_scalecache.c index 978a4cb752..16f8d1fa75 100644 --- a/src/lib/evas/common/evas_image_scalecache.c +++ b/src/lib/evas/common/evas_image_scalecache.c | |||
@@ -2,7 +2,7 @@ | |||
2 | # include "config.h" | 2 | # include "config.h" |
3 | #endif | 3 | #endif |
4 | 4 | ||
5 | #ifdef HAVE_EVIL | 5 | #ifdef _WIN32 |
6 | # include <Evil.h> | 6 | # include <Evil.h> |
7 | #endif | 7 | #endif |
8 | 8 | ||
diff --git a/src/lib/evas/common/language/evas_language_utils.c b/src/lib/evas/common/language/evas_language_utils.c index 74dcec72ca..5a8e173e5f 100644 --- a/src/lib/evas/common/language/evas_language_utils.c +++ b/src/lib/evas/common/language/evas_language_utils.c | |||
@@ -29,7 +29,7 @@ | |||
29 | # define dgettext(domain, x) (x) | 29 | # define dgettext(domain, x) (x) |
30 | #endif | 30 | #endif |
31 | 31 | ||
32 | #ifdef HAVE_EVIL | 32 | #ifdef _WIN32 |
33 | # include <Evil.h> | 33 | # include <Evil.h> |
34 | #endif | 34 | #endif |
35 | 35 | ||
diff --git a/src/lib/evas/file/evas_path.c b/src/lib/evas/file/evas_path.c index 429519eeae..6144759616 100644 --- a/src/lib/evas/file/evas_path.c +++ b/src/lib/evas/file/evas_path.c | |||
@@ -18,7 +18,7 @@ | |||
18 | # include <sys/param.h> | 18 | # include <sys/param.h> |
19 | #endif | 19 | #endif |
20 | 20 | ||
21 | #ifdef HAVE_EVIL | 21 | #ifdef _WIN32 |
22 | # include <Evil.h> | 22 | # include <Evil.h> |
23 | #endif | 23 | #endif |
24 | 24 | ||
diff --git a/src/lib/evas/include/evas_common_private.h b/src/lib/evas/include/evas_common_private.h index 17be9c8acd..a4b3ae3623 100644 --- a/src/lib/evas/include/evas_common_private.h +++ b/src/lib/evas/include/evas_common_private.h | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <unistd.h> | 27 | #include <unistd.h> |
28 | #endif | 28 | #endif |
29 | 29 | ||
30 | #ifdef HAVE_EVIL | 30 | #ifdef _WIN32 |
31 | # include <Evil.h> | 31 | # include <Evil.h> |
32 | #endif | 32 | #endif |
33 | 33 | ||