This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
egcs-971031 on openVMS/Alpha
- To: egcs at cygnus dot com (egcs list)
- Subject: egcs-971031 on openVMS/Alpha
- From: kkaempf at progis dot de (Klaus Kaempf)
- Date: Mon, 3 Nov 1997 11:02:58 +0100 (MET)
openVMS/Alpha has a different prototype for sbrk() than DEC Unix.
Mon Nov 3 10:31:00 1997 Klaus Kaempf (kkaempf@progis.de)
* toplev.c (sbrk): Fix prototype for VMS.
===================================================================
RCS file: RCS/toplev.c,v
retrieving revision 1.1
diff -c -r1.1 toplev.c
*** toplev.c 1997/11/03 09:26:29 1.1
--- toplev.c 1997/11/03 09:57:11
***************
*** 182,188 ****
--- 182,192 ----
#define MAX_LINE 75
#ifdef __alpha
+ #ifdef VMS
+ extern void *sbrk ();
+ #else
extern char *sbrk ();
+ #endif
#endif
/* Name of program invoked, sans directories. */
--
proGIS Software E-Mail: kkaempf@progis.de
Dipl.-Inform. Klaus K"ampf Fax: 0241-47067-29
Jakobstr. 117 Voice: 0241-47067-11
D-52064 Aachen WWW: http://www.progis.de