Allow returning something of type void in a function that returns void
[delight/core.git] / gdc_alloca.h
blob8e68663d59a2bd603f3d81f0377d658feefe5e9e
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