aboutsummaryrefslogtreecommitdiffstats
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
parentedje: Remove bool return from scale_set (diff)
downloadefl-f3e9496cd128c20d0d49db5fb72ab7c31f7962d4.tar.gz
evil: Fix edc scripts compilation on windows
Fixes https://phab.enlightenment.org/T5410 Summary: should fix the error https://phab.enlightenment.org/T5410 Reviewers: vtorri, t.naumenko, cedric, raster, an.kroitor, rimmed, NikaWhite, FurryMyad Subscribers: artem.popov, cedric, jpeg Maniphest Tasks: https://phab.enlightenment.org/T5410 Differential Revision: https://phab.enlightenment.org/D4830
-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 bcafb3a924..56d0ede881 100644
--- a/src/lib/evil/evil_stdlib.c
+++ b/src/lib/evil/evil_stdlib.c
@@ -193,16 +193,12 @@ mkstemps(char *__template, int suffixlen)
return -1;
}
-#if __MINGW64_VERSION_MAJOR < 4
-
int
mkstemp(char *__template)
{
return mkstemps(__template, 0);
}
-#endif
-
char *
realpath(const char *file_name, char *resolved_name)
{
diff --git a/src/lib/evil/evil_stdlib.h b/src/lib/evil/evil_stdlib.h
index 6f98489e51..316347abdd 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);
*
*/
-#if __MINGW64_VERSION_MAJOR < 4
-
/**
* @brief Create a unique temporary file name.
*
@@ -101,8 +99,6 @@ EAPI int unsetenv(const char *name);
*/
EAPI int mkstemp(char *__template);
-#endif
-
/**
* @brief create an unique temporary directory
*