Add VMS support.
authorJohn E. Malmberg <wb8tyw@qsl.net>
Mon, 3 Mar 2008 11:49:54 +0000 (12:49 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 3 Mar 2008 11:49:54 +0000 (12:49 +0100)
ChangeLog
lib/alloca.in.h

index b32827a0c2cda5c29ee07e829531545dbaa225b6..99cb4d259b1d55ce6db1aeaf7bc52ba04329a749 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-03-03  John E. Malmberg  <wb8tyw@qsl.net>  (tiny change)
+            Bruno Haible  <bruno@clisp.org>
+
+       Add VMS support.
+       * lib/alloca.in.h (alloca): Define as alias for DEC C on VMS.
+
 2008-03-03  John E. Malmberg  <wb8tyw@qsl.net>  (tiny change)
 
        Update VMS specifics.
index af274b9e75387b61c3b588bafa3f7c327a999e78..8be3e69f523b82bc9daaa5e5c9b47932fb1faf8c 100644 (file)
@@ -1,6 +1,6 @@
 /* Memory allocation on the stack.
 
-   Copyright (C) 1995, 1999, 2001-2004, 2006-2007 Free Software
+   Copyright (C) 1995, 1999, 2001-2004, 2006-2008 Free Software
    Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify it
@@ -44,6 +44,9 @@
 #  define alloca _alloca
 # else
 #  include <stddef.h>
+#  if defined __DECC && defined __VMS
+#   define alloca __ALLOCA
+#  endif
 #  ifdef  __cplusplus
 extern "C"
 #  endif