From 53f9799366cea70a62b5c13656cdc76351527e66 Mon Sep 17 00:00:00 2001 From: raster Date: Fri, 7 Jan 2011 15:56:54 +0000 Subject: [PATCH] hve to revert these commits. they hve created a whole chunk of 64bit crashes on linux. this is REALLY bad. so remove these changes now. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@55981 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- configure.ac | 1 - src/lib/eina_hash.c | 7 ++----- src/lib/eina_log.c | 2 +- src/lib/eina_module.c | 4 +++- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/configure.ac b/configure.ac index 6f71e0d..97fb9ed 100644 --- a/configure.ac +++ b/configure.ac @@ -330,7 +330,6 @@ fi AC_HEADER_ASSERT AC_HEADER_DIRENT AC_HEADER_TIME -AC_CHECK_HEADERS([unistd.h libgen.h]) EFL_CHECK_PATH_MAX ### Checks for types diff --git a/src/lib/eina_hash.c b/src/lib/eina_hash.c index 38c6a61..18633e7 100644 --- a/src/lib/eina_hash.c +++ b/src/lib/eina_hash.c @@ -24,13 +24,10 @@ #include #include #include - -#ifdef HAVE_STDINT_H -# include -#endif - #ifdef _MSC_VER # include +#else +# include #endif #include "eina_config.h" diff --git a/src/lib/eina_log.c b/src/lib/eina_log.c index 4093b55..33c021d 100644 --- a/src/lib/eina_log.c +++ b/src/lib/eina_log.c @@ -268,7 +268,7 @@ #include #include -#ifdef HAVE_UNISTD_H +#ifndef _MSC_VER # include #endif diff --git a/src/lib/eina_module.c b/src/lib/eina_module.c index 203fe7a..1c6d70f 100644 --- a/src/lib/eina_module.c +++ b/src/lib/eina_module.c @@ -42,8 +42,10 @@ void *alloca (size_t); #include #include -#ifdef HAVE_LIBGEN_H +#ifndef _MSC_VER # include +#else +# include #endif #include -- 2.7.4