repo.or.cz
/
delight
/
core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Reject static variables during the semantic pass, not while parsing
[delight/core.git]
/
gdc_alloca.h
blob
8e68663d59a2bd603f3d81f0377d658feefe5e9e
1
/* This should be autoconf'd, but I want to avoid
2
patching the configure script. */
3
#include <stdlib.h>
4
#ifndef alloca
5
# if _WIN32
6
# include <malloc.h>
7
# elif __sun__
8
# include <alloca.h>
9
# elif SKYOS
10
# define alloca __builtin_alloca
11
# elif defined(__APPLE__) && (GCC_VER <= 33) || defined(__OpenBSD__)
12
# include <stdlib.h>
13
# else
14
/* guess... */
15
# include <alloca.h>
16
# endif
17
#endif