This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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));
  


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]