This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
VMS libiberty patch
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 11 Mar 02 07:46:15 EST
- Subject: VMS libiberty patch
Committed to trunk and 3.1 branch:
2002-03-11 Douglas B Rupp <rupp@gnat.com>
* xatexit.c [VMS]: Include stdlib.h and unixlib.h.
*** xatexit.c.1 Sun Feb 24 09:57:25 2002
--- xatexit.c Mon Feb 25 12:03:21 2002
***************
*** 33,40 ****
--- 33,45 ----
#define size_t unsigned long
#endif
+ #if VMS
+ #include <stdlib.h>
+ #include <unixlib.h>
+ #else
/* For systems with larger pointers than ints, this must be declared. */
PTR malloc PARAMS ((size_t));
+ #endif
static void xatexit_cleanup PARAMS ((void));