diff options
Diffstat (limited to 'gl/alloca.in.h')
-rw-r--r-- | gl/alloca.in.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/gl/alloca.in.h b/gl/alloca.in.h index 44f20b7..72d28ee 100644 --- a/gl/alloca.in.h +++ b/gl/alloca.in.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /* Memory allocation on the stack. | 1 | /* Memory allocation on the stack. |
2 | 2 | ||
3 | Copyright (C) 1995, 1999, 2001-2004, 2006-2010 Free Software Foundation, | 3 | Copyright (C) 1995, 1999, 2001-2004, 2006-2013 Free Software Foundation, |
4 | Inc. | 4 | Inc. |
5 | 5 | ||
6 | This program is free software; you can redistribute it and/or modify it | 6 | This program is free software; you can redistribute it and/or modify it |
@@ -14,9 +14,9 @@ | |||
14 | General Public License for more details. | 14 | General Public License for more details. |
15 | 15 | ||
16 | You should have received a copy of the GNU General Public | 16 | You should have received a copy of the GNU General Public |
17 | License along with this program; if not, write to the Free Software | 17 | License along with this program; if not, see |
18 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, | 18 | <http://www.gnu.org/licenses/>. |
19 | USA. */ | 19 | */ |
20 | 20 | ||
21 | /* Avoid using the symbol _ALLOCA_H here, as Bison assumes _ALLOCA_H | 21 | /* Avoid using the symbol _ALLOCA_H here, as Bison assumes _ALLOCA_H |
22 | means there is a real alloca function. */ | 22 | means there is a real alloca function. */ |
@@ -44,6 +44,13 @@ | |||
44 | # define alloca _alloca | 44 | # define alloca _alloca |
45 | # elif defined __DECC && defined __VMS | 45 | # elif defined __DECC && defined __VMS |
46 | # define alloca __ALLOCA | 46 | # define alloca __ALLOCA |
47 | # elif defined __TANDEM && defined _TNS_E_TARGET | ||
48 | # ifdef __cplusplus | ||
49 | extern "C" | ||
50 | # endif | ||
51 | void *_alloca (unsigned short); | ||
52 | # pragma intrinsic (_alloca) | ||
53 | # define alloca _alloca | ||
47 | # else | 54 | # else |
48 | # include <stddef.h> | 55 | # include <stddef.h> |
49 | # ifdef __cplusplus | 56 | # ifdef __cplusplus |