eina: remove EFL_HAVE_WIN32_THREADS define as it is unused since winpthread is used

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
Vincent Torri 2017-09-23 18:02:44 +02:00 committed by Cedric BAIL
parent 448244360f
commit 9b416d2360
3 changed files with 1 additions and 15 deletions

View File

@ -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],
[

View File

@ -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>

View File

@ -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"