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.



SVN revision: 55981
This commit is contained in:
Carsten Haitzler 2011-01-07 15:56:54 +00:00
parent 29f40fc1fa
commit 6502ea96ea
15 changed files with 25 additions and 49 deletions

View File

@ -889,7 +889,7 @@ case "$host_os" in
have_addrinfo="yes"
;;
*)
AC_CHECK_HEADERS([dlfcn.h features.h langinfo.h locale.h sys/time.h sys/mman.h signal.h sys/resource.h sys/param.h unistd.h libgen])
AC_CHECK_HEADERS([dlfcn.h features.h langinfo.h locale.h sys/time.h sys/mman.h signal.h sys/resource.h])
;;
esac

View File

@ -8,7 +8,7 @@
#include <fcntl.h>
#include <errno.h>
#ifdef HAVE_UNISTD_H
#ifndef _MSC_VER
# include <unistd.h>
#endif
@ -27,7 +27,6 @@
#ifdef HAVE_EVIL
# include <Evil.h>
#endif
#include <Eina.h>
#include "Ecore.h"

View File

@ -4,11 +4,9 @@
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
#ifndef _MSC_VER
# include <unistd.h>
#endif
#ifdef _MSC_VER
#else
# include <process.h>
#endif

View File

@ -23,22 +23,17 @@
#include <errno.h>
#include <fcntl.h>
#ifdef HAVE_SYS_TIME_H
#ifndef _MSC_VER
# include <sys/time.h>
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#ifdef _MSC_VER
#else
# include <float.h>
#endif
#define FIX_HZ 1
#ifdef FIX_HZ
# ifdef HAVE_SYS_PARAM_H
# ifndef _MSC_VER
# include <sys/param.h>
# endif
# ifndef HZ
@ -50,6 +45,9 @@
# include <Evil.h>
#endif
#include "Ecore.h"
#include "ecore_private.h"
#ifdef HAVE_SYS_EPOLL_H
# define HAVE_EPOLL
# include <sys/epoll.h>
@ -59,9 +57,6 @@
# include <glib.h>
#endif
#include "Ecore.h"
#include "ecore_private.h"
struct _Ecore_Fd_Handler
{
EINA_INLIST;

View File

@ -5,18 +5,14 @@
#include <stdio.h>
#include <string.h>
#ifdef HAVE_UNISTD_H
#ifndef _MSC_VER
# include <unistd.h>
#endif
#ifdef HAVE_LIBGEN_H
# include <libgen.h>
#endif
#ifdef HAVE_FEATURES_H
# include <features.h>
#endif
#include <ctype.h>
#include <errno.h>

View File

@ -352,7 +352,7 @@ AC_CHECK_HEADER([jpeglib.h],
[dummy="yes"],
[AC_MSG_ERROR("Cannot find jpeglib.h. Make sure your CFLAGS environment variable contains include lines for the location of this file")])
AC_CHECK_HEADERS([netinet/in.h unistd.h])
AC_CHECK_HEADERS(netinet/in.h)
EFL_CHECK_PATH_MAX
### Checks for types

View File

@ -25,9 +25,9 @@ void * alloca (size_t);
#include <sys/stat.h>
#include <sys/mman.h>
#ifdef HAVE_UNISTD_H
#ifndef _MSC_VER
# include <unistd.h>
#endif
#endif /* ifndef _MSC_VER */
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>

View File

@ -34,9 +34,9 @@ void * alloca (size_t);
#include <fcntl.h>
#include <zlib.h>
#ifdef HAVE_UNISTD_H
#ifndef _MSC_VER
# include <unistd.h>
#endif
#endif /* ifndef _MSC_VER */
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>

View 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

View File

@ -24,13 +24,10 @@
#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"

View File

@ -268,7 +268,7 @@
#include <assert.h>
#include <errno.h>
#ifdef HAVE_UNISTD_H
#ifndef _MSC_VER
# include <unistd.h>
#endif

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

View File

@ -3,11 +3,9 @@
#ifdef BUILD_ASYNC_EVENTS
#ifdef HAVE_UNISTD_H
#ifndef _MSC_VER
# include <unistd.h>
#endif
#include <fcntl.h>
#include <errno.h>

View File

@ -14,12 +14,8 @@
/* get the casefold feature! */
#include <fnmatch.h>
#include <dirent.h>
#ifdef HAVE_UNISTD_H
#ifndef _MSC_VER
# include <unistd.h>
#endif
#ifndef HAVE_SYS_PARAM_H
# include <sys/param.h>
#endif

View File

@ -242,14 +242,10 @@ void *alloca (size_t);
#include <time.h>
#include <ctype.h>
#ifdef HAVE_STDINT_H
#ifndef _MSC_VER
# include <stdint.h>
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <ft2build.h>
#include FT_FREETYPE_H
#include FT_GLYPH_H