fix alloca include with mingw, remove trailing spaces

SVN revision: 30850
This commit is contained in:
doursse 2007-07-16 07:38:48 +00:00 committed by doursse
parent 96721e6171
commit 93482ff8e7
1 changed files with 32 additions and 15 deletions

View File

@ -1,3 +1,7 @@
/*
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
*/
#ifndef EVAS_COMMON_H
#define EVAS_COMMON_H
@ -51,7 +55,20 @@
#include <ctype.h>
#ifdef HAVE_ALLOCA_H
#include <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 _WIN32_WCE