summaryrefslogtreecommitdiff
path: root/src/lib/eo
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/eo
parent7db24851936e7fe654ba77cbad47316577cce5f7 (diff)
EFL For WIN32: Replace HAVE_EVIL define with _WIN32
Diffstat (limited to 'src/lib/eo')
-rw-r--r--src/lib/eo/eo.c6
1 files changed, 3 insertions, 3 deletions
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
2560static inline double 2560static 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, '/');