summaryrefslogtreecommitdiff
path: root/src/lib/evas/file
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2018-01-03 06:23:10 +0100
committerCedric BAIL <cedric@osg.samsung.com>2018-01-04 12:59:47 -0800
commit4ae6eeb2cffa68336beedaeacf8874c93f15feda (patch)
tree9c212d00728a35922c468725a382cd6c0fb40d63 /src/lib/evas/file
parent6c42801bac1343629ded606e6960bb656ec86ff8 (diff)
efl: remove _MSC_VER (Visual Studio macro) usage in source code
Diffstat (limited to 'src/lib/evas/file')
-rw-r--r--src/lib/evas/file/evas_module.c2
-rw-r--r--src/lib/evas/file/evas_path.c6
2 files changed, 2 insertions, 6 deletions
diff --git a/src/lib/evas/file/evas_module.c b/src/lib/evas/file/evas_module.c
index bdcd5e8500..b4cabf845b 100644
--- a/src/lib/evas/file/evas_module.c
+++ b/src/lib/evas/file/evas_module.c
@@ -147,7 +147,6 @@ evas_module_paths_init(void)
147 evas_module_paths = _evas_module_append(evas_module_paths, path); 147 evas_module_paths = _evas_module_append(evas_module_paths, path);
148 148
149 /* 2. PREFIX/lib/evas/modules/ */ 149 /* 2. PREFIX/lib/evas/modules/ */
150#ifndef _MSC_VER
151 path = PACKAGE_LIB_DIR "/evas/modules"; 150 path = PACKAGE_LIB_DIR "/evas/modules";
152 if (!eina_list_search_unsorted(evas_module_paths, (Eina_Compare_Cb) strcmp, path)) 151 if (!eina_list_search_unsorted(evas_module_paths, (Eina_Compare_Cb) strcmp, path))
153 { 152 {
@@ -155,7 +154,6 @@ evas_module_paths_init(void)
155 if (path) 154 if (path)
156 evas_module_paths = _evas_module_append(evas_module_paths, path); 155 evas_module_paths = _evas_module_append(evas_module_paths, path);
157 } 156 }
158#endif
159} 157}
160 158
161#define EVAS_EINA_STATIC_MODULE_DEFINE(Tn, Name) \ 159#define EVAS_EINA_STATIC_MODULE_DEFINE(Tn, Name) \
diff --git a/src/lib/evas/file/evas_path.c b/src/lib/evas/file/evas_path.c
index 6144759616..19eabe4835 100644
--- a/src/lib/evas/file/evas_path.c
+++ b/src/lib/evas/file/evas_path.c
@@ -13,10 +13,8 @@
13#include <sys/stat.h> 13#include <sys/stat.h>
14/* get the casefold feature! */ 14/* get the casefold feature! */
15#include <fnmatch.h> 15#include <fnmatch.h>
16#ifndef _MSC_VER 16#include <unistd.h>
17# include <unistd.h> 17#include <sys/param.h>
18# include <sys/param.h>
19#endif
20 18
21#ifdef _WIN32 19#ifdef _WIN32
22# include <Evil.h> 20# include <Evil.h>