summaryrefslogtreecommitdiff
path: root/src/lib/evil
diff options
context:
space:
mode:
authorIvan Furs <i.furs@samsung.com>2017-06-12 11:50:54 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-06-12 11:52:30 +0900
commitf3e9496cd128c20d0d49db5fb72ab7c31f7962d4 (patch)
tree59c03f8c45020eeae9510534100924886c4f85e5 /src/lib/evil
parent2dc29cfbfd55bf3004a41ee622e752f772b05eab (diff)
evil: Fix edc scripts compilation on windows
Fixes T5410 Summary: should fix the error T5410 Reviewers: vtorri, t.naumenko, cedric, raster, an.kroitor, rimmed, NikaWhite, FurryMyad Subscribers: artem.popov, cedric, jpeg Maniphest Tasks: T5410 Differential Revision: https://phab.enlightenment.org/D4830
Diffstat (limited to 'src/lib/evil')
-rw-r--r--src/lib/evil/evil_stdlib.c4
-rw-r--r--src/lib/evil/evil_stdlib.h4
2 files changed, 0 insertions, 8 deletions
diff --git a/src/lib/evil/evil_stdlib.c b/src/lib/evil/evil_stdlib.c
index bcafb3a..56d0ede 100644
--- a/src/lib/evil/evil_stdlib.c
+++ b/src/lib/evil/evil_stdlib.c
@@ -193,16 +193,12 @@ mkstemps(char *__template, int suffixlen)
193 return -1; 193 return -1;
194} 194}
195 195
196#if __MINGW64_VERSION_MAJOR < 4
197
198int 196int
199mkstemp(char *__template) 197mkstemp(char *__template)
200{ 198{
201 return mkstemps(__template, 0); 199 return mkstemps(__template, 0);
202} 200}
203 201
204#endif
205
206char * 202char *
207realpath(const char *file_name, char *resolved_name) 203realpath(const char *file_name, char *resolved_name)
208{ 204{
diff --git a/src/lib/evil/evil_stdlib.h b/src/lib/evil/evil_stdlib.h
index 6f98489..316347a 100644
--- a/src/lib/evil/evil_stdlib.h
+++ b/src/lib/evil/evil_stdlib.h
@@ -67,8 +67,6 @@ EAPI int unsetenv(const char *name);
67 * 67 *
68 */ 68 */
69 69
70#if __MINGW64_VERSION_MAJOR < 4
71
72/** 70/**
73 * @brief Create a unique temporary file name. 71 * @brief Create a unique temporary file name.
74 * 72 *
@@ -101,8 +99,6 @@ EAPI int unsetenv(const char *name);
101 */ 99 */
102EAPI int mkstemp(char *__template); 100EAPI int mkstemp(char *__template);
103 101
104#endif
105
106/** 102/**
107 * @brief create an unique temporary directory 103 * @brief create an unique temporary directory
108 * 104 *