cedric pushed a commit to branch master.

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

commit 9b416d236079da8603c9c3cc4b5f3d013d74976e
Author: Vincent Torri <[email protected]>
Date:   Sat Sep 23 18:02:44 2017 +0200

    eina: remove EFL_HAVE_WIN32_THREADS define as it is unused since winpthread 
is used
    
    Signed-off-by: Cedric BAIL <[email protected]>
---
 m4/efl_threads.m4         | 2 +-
 src/lib/eina/eina_main.c  | 6 ------
 src/lib/eina/eina_sched.c | 8 --------
 3 files changed, 1 insertion(+), 15 deletions(-)

diff --git a/m4/efl_threads.m4 b/m4/efl_threads.m4
index 0c25e2c2df..54a5fc6d77 100644
--- a/m4/efl_threads.m4
+++ b/m4/efl_threads.m4
@@ -7,7 +7,7 @@ dnl Macro that check if POSIX or Win32 threads library is 
available or not.
 dnl Usage: EFL_CHECK_THREADS(ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND])
 dnl Call AC_SUBST(EFL_PTHREAD_CFLAGS)
 dnl Call AC_SUBST(EFL_PTHREAD_LIBS)
-dnl Defines EFL_HAVE_POSIX_THREADS or EFL_HAVE_WIN32_THREADS, and 
EFL_HAVE_THREADS
+dnl Defines EFL_HAVE_THREADS
 
 AC_DEFUN([EFL_CHECK_THREADS],
 [
diff --git a/src/lib/eina/eina_main.c b/src/lib/eina/eina_main.c
index 38865eb57d..ba88e0a506 100644
--- a/src/lib/eina/eina_main.c
+++ b/src/lib/eina/eina_main.c
@@ -23,12 +23,6 @@
 #include <stdio.h>
 #include <time.h>
 
-#ifdef EFL_HAVE_WIN32_THREADS
-# define WIN32_LEAN_AND_MEAN
-# include <windows.h>
-# undef WIN32_LEAN_AND_MEAN
-#endif
-
 #ifdef EFL_HAVE_THREADS
 # ifdef HAVE_SYS_TYPES_H
 #  include <sys/types.h>
diff --git a/src/lib/eina/eina_sched.c b/src/lib/eina/eina_sched.c
index 006f23fa4e..bf47d806b1 100644
--- a/src/lib/eina/eina_sched.c
+++ b/src/lib/eina/eina_sched.c
@@ -28,14 +28,6 @@
 # include <errno.h>
 #endif
 
-#ifdef EFL_HAVE_WIN32_THREADS
-# ifndef WIN32_LEAN_AND_MEAN
-#  define WIN32_LEAN_AND_MEAN
-# endif
-# include <windows.h>
-# undef WIN32_LEAN_AND_MEAN
-#endif
-
 #include "eina_sched.h"
 #include "eina_log.h"
 

-- 


Reply via email to