summaryrefslogtreecommitdiff
path: root/src/lib/elementary
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/elementary
parent7db24851936e7fe654ba77cbad47316577cce5f7 (diff)
EFL For WIN32: Replace HAVE_EVIL define with _WIN32
Diffstat (limited to 'src/lib/elementary')
-rw-r--r--src/lib/elementary/efl_ui_clock.c10
-rw-r--r--src/lib/elementary/elm_font.c2
-rw-r--r--src/lib/elementary/elm_main.c2
3 files changed, 7 insertions, 7 deletions
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