Ephoto: Make Ephoto compile/work on Windows.

master
Vincent Torri 6 years ago committed by Stephen 'Okra' Houston
parent afa1529be3
commit 751e08acc7
  1. 23
      configure.ac
  2. 4
      src/bin/ephoto_file.c

@ -3,7 +3,7 @@ dnl Process this file with autoconf to produce a configure script.
# get rid of that stupid cache mechanism
rm -f config.cache
AC_INIT([ephoto], [1.0-beta2], [enlightenment-devel@lists.sourceforge.net])
AC_INIT([ephoto], [1.0-beta3], [enlightenment-devel@lists.sourceforge.net])
AC_PREREQ([2.60])
AC_CONFIG_SRCDIR([configure.ac])
@ -53,18 +53,15 @@ fi
AM_CONDITIONAL([HAVE_PO], [test "x${have_po}" = "xyes"])
PKG_CHECK_MODULES([EFL], [
eina >= 1.18.0
evas >= 1.18.0
ecore >= 1.18.0
ecore-file >= 1.18.0
ecore-ipc >= 1.18.0
edje >= 1.18.0
eo >= 1.18.0
eio >= 1.18.0
elementary >= 1.18.0
efreet-mime >= 1.18.0
])
requirements="eina >= 1.18.0 evas >= 1.18.0 ecore >= 1.18.0 ecore-file >=
1.18.0 ecore-ipc >= 1.18.0 edje >= 1.18.0 eo >= 1.18.0 eio >= 1.18.0
elementary >= 1.18.0 efreet-mime >= 1.18.0"
if test "x${have_win32}" = "xyes" ; then
requirements="${requirements} evil"
fi
PKG_CHECK_MODULES([EFL], [${requirements}])
AC_CHECK_FUNCS([nice])

@ -744,7 +744,11 @@ _delete_thread_cb(void *data, Ecore_Thread *et EINA_UNUSED)
int ret;
struct stat s;
#ifdef _WIN32
if (stat(file, &s))
#else
if (lstat(file, &s))
#endif
{
if (S_ISLNK(s.st_mode))
{

Loading…
Cancel
Save