public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* No unlink() on openVMS/Alpha
@ 1997-10-11  8:41 Klaus Kaempf
  1997-10-20  1:43 ` Jeffrey A Law
  0 siblings, 1 reply; 2+ messages in thread
From: Klaus Kaempf @ 1997-10-11  8:41 UTC (permalink / raw)
  To: egcs list

There's no unlink() on openVMS/Alpha but remove(). There's already a definition
for this in stdio.h for GNU C.

Sat Oct 11 16:27:00 1997  Klaus Kaempf (kkaempf@progis.de)

	* config/alpha/xm-vms.h: only define unlink for DEC C

===================================================================
RCS file: config/alpha/RCS/xm-vms.h,v
retrieving revision 1.2
diff -c -r1.2 config/alpha/xm-vms.h
*** config/alpha/xm-vms.h	1997/10/08 10:15:16	1.2
--- config/alpha/xm-vms.h	1997/10/08 13:56:29
***************
*** 62,68 ****
--- 62,70 ----
  }
  
  /* Define a local equivalent (sort of) for unlink */
+ #ifdef __DECC
  #define unlink remove
+ #endif
  #define NEED_ATEXIT
  
  #define NO_SYS_PARAMS_H		/* Don't have <sys/params.h> */

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: No unlink() on openVMS/Alpha
  1997-10-11  8:41 No unlink() on openVMS/Alpha Klaus Kaempf
@ 1997-10-20  1:43 ` Jeffrey A Law
  0 siblings, 0 replies; 2+ messages in thread
From: Jeffrey A Law @ 1997-10-20  1:43 UTC (permalink / raw)
  To: Klaus Kaempf; +Cc: egcs list

  In message < 9710111545.AA10546@progis.de >you write:
  > There's no unlink() on openVMS/Alpha but remove(). There's already a defini
  > tion
  > for this in stdio.h for GNU C.
  > 
  > Sat Oct 11 16:27:00 1997  Klaus Kaempf (kkaempf@progis.de)
  > 
  > 	* config/alpha/xm-vms.h: only define unlink for DEC C
This seems wrong.  The existance of unlink and/or remove shouldn't
compiler dependent!

Jeff

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-10-20  1:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-10-11  8:41 No unlink() on openVMS/Alpha Klaus Kaempf
1997-10-20  1:43 ` Jeffrey A Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).