jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=f3e9496cd128c20d0d49db5fb72ab7c31f7962d4

commit f3e9496cd128c20d0d49db5fb72ab7c31f7962d4
Author: Ivan Furs <[email protected]>
Date:   Mon Jun 12 11:50:54 2017 +0900

    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
---
 src/lib/evil/evil_stdlib.c | 4 ----
 src/lib/evil/evil_stdlib.h | 4 ----
 2 files changed, 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
  *

-- 


Reply via email to