summaryrefslogtreecommitdiff
path: root/src/lib/efreet
diff options
context:
space:
mode:
authorVincent 'vtorri' Torri <vincent.torri@gmail.com>2017-09-22 05:06:10 -0500
committerStephen 'Okra' Houston <smhouston88@gmail.com>2017-09-22 05:06:10 -0500
commit0cdd50124690ea0d72bef304fff15b4be2adee41 (patch)
treec6cfefef7351a7d0ba4bd32028f9c24e081edefc /src/lib/efreet
parent7db24851936e7fe654ba77cbad47316577cce5f7 (diff)
EFL For WIN32: Replace HAVE_EVIL define with _WIN32
Diffstat (limited to 'src/lib/efreet')
-rw-r--r--src/lib/efreet/efreet_desktop.c6
-rw-r--r--src/lib/efreet/efreet_uri.c2
2 files changed, 4 insertions, 4 deletions
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