hve to revert these commits. they hve created a whole chunk of 64bit
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 7 Jan 2011 15:56:54 +0000 (15:56 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 7 Jan 2011 15:56:54 +0000 (15:56 +0000)
crashes on linux. this is REALLY bad. so remove these changes now.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@55981 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

configure.ac
src/lib/eina_hash.c
src/lib/eina_log.c
src/lib/eina_module.c

index 6f71e0d..97fb9ed 100644 (file)
@@ -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
index 38c6a61..18633e7 100644 (file)
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-
-#ifdef HAVE_STDINT_H
-# include <stdint.h>
-#endif
-
 #ifdef _MSC_VER
 # include <Evil.h>
+#else
+# include <stdint.h>
 #endif
 
 #include "eina_config.h"
index 4093b55..33c021d 100644 (file)
 #include <assert.h>
 #include <errno.h>
 
-#ifdef HAVE_UNISTD_H
+#ifndef _MSC_VER
 # include <unistd.h>
 #endif
 
index 203fe7a..1c6d70f 100644 (file)
@@ -42,8 +42,10 @@ void *alloca (size_t);
 #include <dirent.h>
 #include <string.h>
 
-#ifdef HAVE_LIBGEN_H
+#ifndef _MSC_VER
 # include <libgen.h>
+#else
+# include <Evil.h>
 #endif
 
 #include <dlfcn.h>