ecore, eio : revert alloca commits (and other solaris math commits, i know)

SVN revision: 79610
This commit is contained in:
Vincent Torri 2012-11-23 21:55:46 +00:00
parent 14a4767f24
commit a943f063bc
51 changed files with 22 additions and 759 deletions

View File

@ -1022,8 +1022,3 @@
2012-11-23 Eduardo Lima (Etrunko) 2012-11-23 Eduardo Lima (Etrunko)
* Fix leak of strcut wl_registry in Ecore Wayland * Fix leak of strcut wl_registry in Ecore Wayland
2012-11-23 Sebastian Dransfeld
* Correctly define alloca
* Minor build fixes for solaris

View File

@ -2,24 +2,6 @@
# include "config.h" # include "config.h"
#endif #endif
#undef alloca
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#include <stdlib.h> #include <stdlib.h>
#include <Eina.h> #include <Eina.h>

View File

@ -2,24 +2,6 @@
# include <config.h> # include <config.h>
#endif #endif
#undef alloca
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>

View File

@ -2,24 +2,6 @@
# include <config.h> # include <config.h>
#endif #endif
#undef alloca
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#ifdef STDC_HEADERS #ifdef STDC_HEADERS
# include <stdlib.h> # include <stdlib.h>
# include <stddef.h> # include <stddef.h>
@ -28,6 +10,23 @@ void *alloca (size_t);
# include <stdlib.h> # include <stdlib.h>
# endif # endif
#endif #endif
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif !defined alloca
# ifdef __GNUC__
# define alloca __builtin_alloca
# elif defined _AIX
# define alloca __alloca
# elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
# elif !defined HAVE_ALLOCA
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
# endif
#endif
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>

View File

@ -7,10 +7,6 @@
#include <errno.h> #include <errno.h>
#include <math.h> #include <math.h>
#ifdef __SUNPRO_C
# include <ieeefp.h>
#endif
#ifdef HAVE_ISFINITE #ifdef HAVE_ISFINITE
# define ECORE_FINITE(t) isfinite(t) # define ECORE_FINITE(t) isfinite(t)
#else #else

View File

@ -27,24 +27,6 @@
# include "config.h" # include "config.h"
#endif #endif
#undef alloca
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#if !defined(__FreeBSD__) #if !defined(__FreeBSD__)
#ifndef _XOPEN_SOURCE #ifndef _XOPEN_SOURCE
#define _XOPEN_SOURCE 600 #define _XOPEN_SOURCE 600
@ -696,7 +678,7 @@ size_t dns_strlcat(char *dst, const char *src, size_t lim) {
} /* dns_strlcat() */ } /* dns_strlcat() */
#if defined(_WIN32) || defined(__SUNPRO_C) #if _WIN32
static char *dns_strsep(char **sp, const char *delim) { static char *dns_strsep(char **sp, const char *delim) {
char *p; char *p;

View File

@ -2,24 +2,6 @@
# include <config.h> # include <config.h>
#endif #endif
#undef alloca
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <sys/types.h> #include <sys/types.h>

View File

@ -2,24 +2,6 @@
# include "config.h" # include "config.h"
#endif #endif
#undef alloca
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#include "Ecore.h" #include "Ecore.h"
#include "ecore_private.h" #include "ecore_private.h"
#include "Ecore_Con.h" #include "Ecore_Con.h"

View File

@ -2,24 +2,6 @@
# include <config.h> # include <config.h>
#endif #endif
#undef alloca
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#include <Eina.h> #include <Eina.h>
#include "Ecore_Con_Eet.h" #include "Ecore_Con_Eet.h"

View File

@ -9,7 +9,6 @@
# include <config.h> # include <config.h>
#endif #endif
#undef alloca
#ifdef HAVE_ALLOCA_H #ifdef HAVE_ALLOCA_H
# include <alloca.h> # include <alloca.h>
#elif defined __GNUC__ #elif defined __GNUC__

View File

@ -2,24 +2,6 @@
# include <config.h> # include <config.h>
#endif #endif
#undef alloca
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#include <process.h> #include <process.h>
#include <Evil.h> #include <Evil.h>

View File

@ -2,24 +2,6 @@
# include <config.h> # include <config.h>
#endif #endif
#undef alloca
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <sys/types.h> #include <sys/types.h>

View File

@ -2,24 +2,6 @@
# include <config.h> # include <config.h>
#endif #endif
#undef alloca
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#if USE_GNUTLS #if USE_GNUTLS
# include <gnutls/gnutls.h> # include <gnutls/gnutls.h>
# include <gnutls/x509.h> # include <gnutls/x509.h>

View File

@ -2,24 +2,6 @@
# include <config.h> # include <config.h>
#endif #endif
#undef alloca
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#include <string.h> #include <string.h>
#include <ctype.h> #include <ctype.h>
#include <stdio.h> #include <stdio.h>

View File

@ -2,24 +2,6 @@
# include <config.h> # include <config.h>
#endif #endif
#undef alloca
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/types.h> #include <sys/types.h>

View File

@ -2,24 +2,6 @@
# include "config.h" # include "config.h"
#endif #endif
#undef alloca
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
//#define LOGFNS 1 //#define LOGFNS 1
#ifdef LOGFNS #ifdef LOGFNS

View File

@ -2,24 +2,6 @@
# include "config.h" # include "config.h"
#endif #endif
#undef alloca
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
//#define LOGFNS 1 //#define LOGFNS 1
#ifdef LOGFNS #ifdef LOGFNS

View File

@ -2,24 +2,6 @@
# include <config.h> # include <config.h>
#endif #endif
#undef alloca
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#include "Ecore_Fb.h" #include "Ecore_Fb.h"
#include "ecore_fb_private.h" #include "ecore_fb_private.h"

View File

@ -2,24 +2,6 @@
# include <config.h> # include <config.h>
#endif #endif
#undef alloca
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>

View File

@ -2,24 +2,6 @@
# include <config.h> # include <config.h>
#endif #endif
#undef alloca
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#include "ecore_file_private.h" #include "ecore_file_private.h"
typedef enum { typedef enum {

View File

@ -2,24 +2,6 @@
# include <config.h> # include <config.h>
#endif #endif
#undef alloca
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <locale.h> #include <locale.h>

View File

@ -2,24 +2,6 @@
# include <config.h> # include <config.h>
#endif #endif
#undef alloca
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#include <string.h> #include <string.h>
#ifdef HAVE_NETINET_IN_H #ifdef HAVE_NETINET_IN_H

View File

@ -2,24 +2,6 @@
# include <config.h> # include <config.h>
#endif #endif
#undef alloca
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#include <fcntl.h> #include <fcntl.h>
#include "ecore_wl_private.h" #include "ecore_wl_private.h"

View File

@ -2,24 +2,6 @@
# include <config.h> # include <config.h>
#endif #endif
#undef alloca
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#include "ecore_wl_private.h" #include "ecore_wl_private.h"
/* local function prototypes */ /* local function prototypes */

View File

@ -2,24 +2,6 @@
# include <config.h> # include <config.h>
#endif #endif
#undef alloca
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#include "ecore_wl_private.h" #include "ecore_wl_private.h"
/* local function prototypes */ /* local function prototypes */

View File

@ -2,24 +2,6 @@
# include <config.h> # include <config.h>
#endif #endif
#undef alloca
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> /* for printf */ #include <stdio.h> /* for printf */

View File

@ -2,24 +2,6 @@
# include <config.h> # include <config.h>
#endif #endif
#undef alloca
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN
#include <windows.h> #include <windows.h>
#undef WIN32_LEAN_AND_MEAN #undef WIN32_LEAN_AND_MEAN

View File

@ -1,25 +1,3 @@
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#undef alloca
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#include "ecore_xcb_private.h" #include "ecore_xcb_private.h"
/* local function prototypes */ /* local function prototypes */

View File

@ -1,25 +1,3 @@
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#undef alloca
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#include "ecore_xcb_private.h" #include "ecore_xcb_private.h"
#include <sys/ipc.h> #include <sys/ipc.h>
#include <sys/shm.h> #include <sys/shm.h>

View File

@ -1,25 +1,3 @@
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#undef alloca
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#include "ecore_xcb_private.h" #include "ecore_xcb_private.h"
//#include "Ecore_X_Atoms.h" //#include "Ecore_X_Atoms.h"

View File

@ -1,25 +1,3 @@
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#undef alloca
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#include "ecore_xcb_private.h" #include "ecore_xcb_private.h"
#ifdef ECORE_XCB_RENDER #ifdef ECORE_XCB_RENDER
# include <xcb/render.h> # include <xcb/render.h>

View File

@ -2,24 +2,6 @@
# include <config.h> # include <config.h>
#endif /* ifdef HAVE_CONFIG_H */ #endif /* ifdef HAVE_CONFIG_H */
#undef alloca
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>

View File

@ -2,7 +2,6 @@
# include <config.h> # include <config.h>
#endif /* ifdef HAVE_CONFIG_H */ #endif /* ifdef HAVE_CONFIG_H */
#undef alloca
#ifdef HAVE_ALLOCA_H #ifdef HAVE_ALLOCA_H
# include <alloca.h> # include <alloca.h>
#elif defined __GNUC__ #elif defined __GNUC__

View File

@ -6,24 +6,6 @@
# include <config.h> # include <config.h>
#endif /* ifdef HAVE_CONFIG_H */ #endif /* ifdef HAVE_CONFIG_H */
#undef alloca
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#include "Ecore.h" #include "Ecore.h"
#include "ecore_x_private.h" #include "ecore_x_private.h"
#include "Ecore_X.h" #include "Ecore_X.h"

View File

@ -2,24 +2,6 @@
# include <config.h> # include <config.h>
#endif #endif
#undef alloca
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <sys/ipc.h> #include <sys/ipc.h>

View File

@ -6,24 +6,6 @@
# include <config.h> # include <config.h>
#endif #endif
#undef alloca
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#include "ecore_x_private.h" #include "ecore_x_private.h"
#include "ecore_x_randr.h" #include "ecore_x_randr.h"
#include <stdio.h> #include <stdio.h>

View File

@ -2,24 +2,6 @@
# include <config.h> # include <config.h>
#endif /* ifdef HAVE_CONFIG_H */ #endif /* ifdef HAVE_CONFIG_H */
#undef alloca
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>

View File

@ -2,24 +2,6 @@
# include <config.h> # include <config.h>
#endif /* ifdef HAVE_CONFIG_H */ #endif /* ifdef HAVE_CONFIG_H */
#undef alloca
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>

View File

@ -180,7 +180,6 @@ AC_SUBST(lt_enable_auto_import)
### Checks for library functions ### Checks for library functions
AC_CHECK_FUNCS([fchmod chown getpwnam getgrnam]) AC_CHECK_FUNCS([fchmod chown getpwnam getgrnam])
AC_FUNC_ALLOCA
### Check for splice system call ### Check for splice system call

View File

@ -17,10 +17,6 @@
* if not, see <http://www.gnu.org/licenses/>. * if not, see <http://www.gnu.org/licenses/>.
*/ */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "eio_private.h" #include "eio_private.h"
#include "Eio.h" #include "Eio.h"

View File

@ -19,10 +19,6 @@
* if not, see <http://www.gnu.org/licenses/>. * if not, see <http://www.gnu.org/licenses/>.
*/ */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "eio_private.h" #include "eio_private.h"
#include "Eio.h" #include "Eio.h"

View File

@ -19,28 +19,6 @@
* if not, see <http://www.gnu.org/licenses/>. * if not, see <http://www.gnu.org/licenses/>.
*/ */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#undef alloca
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#include "eio_private.h" #include "eio_private.h"
#include "Eio.h" #include "Eio.h"

View File

@ -16,11 +16,6 @@
* License along with this library; * License along with this library;
* if not, see <http://www.gnu.org/licenses/>. * if not, see <http://www.gnu.org/licenses/>.
*/ */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "eio_private.h" #include "eio_private.h"
#include "Eio.h" #include "Eio.h"

View File

@ -19,10 +19,6 @@
* if not, see <http://www.gnu.org/licenses/>. * if not, see <http://www.gnu.org/licenses/>.
*/ */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "eio_private.h" #include "eio_private.h"
#include "Eio.h" #include "Eio.h"

View File

@ -17,10 +17,6 @@
* if not, see <http://www.gnu.org/licenses/>. * if not, see <http://www.gnu.org/licenses/>.
*/ */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "eio_private.h" #include "eio_private.h"
#include "Eio.h" #include "Eio.h"

View File

@ -17,28 +17,6 @@
* if not, see <http://www.gnu.org/licenses/>. * if not, see <http://www.gnu.org/licenses/>.
*/ */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#undef alloca
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#include "eio_private.h" #include "eio_private.h"
#include "Eio.h" #include "Eio.h"

View File

@ -17,28 +17,6 @@
* if not, see <http://www.gnu.org/licenses/>. * if not, see <http://www.gnu.org/licenses/>.
*/ */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#undef alloca
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#include "eio_private.h" #include "eio_private.h"
#include "Eio.h" #include "Eio.h"

View File

@ -17,28 +17,6 @@
* if not, see <http://www.gnu.org/licenses/>. * if not, see <http://www.gnu.org/licenses/>.
*/ */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#undef alloca
#ifdef HAVE_ALLOCA_H
# include <alloca.h>
#elif defined __GNUC__
# define alloca __builtin_alloca
#elif defined _AIX
# define alloca __alloca
#elif defined _MSC_VER
# include <malloc.h>
# define alloca _alloca
#else
# include <stddef.h>
# ifdef __cplusplus
extern "C"
# endif
void *alloca (size_t);
#endif
#include "eio_private.h" #include "eio_private.h"
#include "Eio.h" #include "Eio.h"

View File

@ -1,6 +1,10 @@
#ifndef EIO_PRIVATE_H_ #ifndef EIO_PRIVATE_H_
#define EIO_PRIVATE_H_ #define EIO_PRIVATE_H_
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <sys/types.h> #include <sys/types.h>
#ifdef HAVE_DIRENT_H #ifdef HAVE_DIRENT_H
# include <dirent.h> # include <dirent.h>

View File

@ -18,11 +18,6 @@
* License along with this library; * License along with this library;
* if not, see <http://www.gnu.org/licenses/>. * if not, see <http://www.gnu.org/licenses/>.
*/ */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "eio_private.h" #include "eio_private.h"
#include "Eio.h" #include "Eio.h"

View File

@ -17,10 +17,6 @@
* if not, see <http://www.gnu.org/licenses/>. * if not, see <http://www.gnu.org/licenses/>.
*/ */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "eio_private.h" #include "eio_private.h"
#include "Eio.h" #include "Eio.h"