Mercurial > hg > xemacs-beta
diff lwlib/lwlib.c @ 149:538048ae2ab8 r20-3b1
Import from CVS: tag r20-3b1
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:36:16 +0200 |
parents | b980b6286996 |
children | 0132846995bd |
line wrap: on
line diff
--- a/lwlib/lwlib.c Mon Aug 13 09:35:15 2007 +0200 +++ b/lwlib/lwlib.c Mon Aug 13 09:36:16 2007 +0200 @@ -23,6 +23,7 @@ #undef __STRICT_BSD__ /* ick */ #endif +#include <config.h> #include <stdlib.h> #include <unistd.h> #include <sys/types.h> @@ -32,34 +33,6 @@ #include "lwlib-internal.h" #include "lwlib-utils.h" -#if defined(__GNUC__) && !defined(alloca) -#define alloca __builtin_alloca -#endif - -#if ((!__GNUC__) && !defined(__hpux)) && !defined(_AIX) && !defined (_SCO_DS) && !defined (__USLC__) && !defined(sinix) && !defined(WINDOWSNT) && !defined(_SEQUENT_) -#include <alloca.h> -#endif - -#ifdef WINDOWSNT -/* NT has an _alloca function prototyped in malloc.h --marcpa */ -#include <malloc.h> -#endif - - -#ifdef __SUNPRO_C -void *__builtin_alloca (unsigned int); -#endif - -#if defined(_AIX) -#pragma alloca -#endif - -#ifdef BROKEN_SUNOS_HEADERS -extern void * memset (void *, int, int); -extern int strcasecmp (char *, char *); -extern int fprintf (FILE *, CONST char *, ...); -#endif - #ifdef NEED_LUCID #include "lwlib-Xlw.h" #endif