]> git.sur5r.net Git - openldap/blob - include/ac/alloca.h
Style changes, added cvs keywords
[openldap] / include / ac / alloca.h
1 /* Generic alloca.h */
2 /*
3  * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
4  * All rights reserved.
5  *
6  * Redistribution and use in source and binary forms are permitted only
7  * as authorized by the OpenLDAP Public License.  A copy of this
8  * license is available at http://www.OpenLDAP.org/license.html or
9  * in file LICENSE in the top-level directory of the distribution.
10  */
11
12 #ifndef _AC_ALLOCA_H
13 #define _AC_ALLOCA_H
14
15 /* AIX requires this to be the first thing in the file.  */
16 #ifdef __GNUC__
17 # define alloca __builtin_alloca
18 #else
19 # if HAVE_ALLOCA_H
20 #  include <alloca.h>
21 # else
22 #  ifdef _AIX
23 #pragma alloca
24 #  else
25 #   ifndef alloca /* predefined by HP cc +Olibcalls */
26 char *alloca ();
27 #   endif
28 #  endif
29 # endif
30 #endif
31
32
33 #endif /* _AC_ALLOCA_H */