Wed Jan 28 13:54:50 1998 Pat Rankin <rankin@eql.caltech.edu>
authorIan Lance Taylor <ian@airs.com>
Wed, 28 Jan 1998 18:56:15 +0000 (18:56 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 28 Jan 1998 18:56:15 +0000 (18:56 +0000)
as.h (unlink): Reverse 13-Feb-97 change; use of unlink vs remove
depends upon HAVE_{UNLINK,REMOVE} values rather than host
compiler.

gas/ChangeLog
gas/as.h

index 3d3edd3..25b5375 100644 (file)
@@ -1,3 +1,9 @@
+Wed Jan 28 13:54:50 1998  Pat Rankin  <rankin@eql.caltech.edu>
+
+       as.h (unlink): Reverse 13-Feb-97 change; use of unlink vs remove
+       depends upon HAVE_{UNLINK,REMOVE} values rather than host
+       compiler.
+
 Wed Jan 28 13:48:08 1998  Ian Lance Taylor  <ian@cygnus.com>
 
        * config/obj-coff.h (RESOLVE_SYMBOL_REDEFINITION): Define.
index 2d7052c..cab7155 100644 (file)
--- a/gas/as.h
+++ b/gas/as.h
@@ -1,5 +1,5 @@
 /* as.h - global header file
-   Copyright (C) 1987, 90, 91, 92, 93, 94, 95, 96, 1997
+   Copyright (C) 1987, 90, 91, 92, 93, 94, 95, 96, 97, 1998
    Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
@@ -168,8 +168,8 @@ extern void free ();
 extern int errno;
 #endif
 
-/* This is needed for VMS with DEC C.  */
-#if ! defined (__GNUC__) && ! defined (HAVE_UNLINK) && defined (HAVE_REMOVE)
+/* This is needed for VMS.  */
+#if ! defined (HAVE_UNLINK) && defined (HAVE_REMOVE)
 #define unlink remove
 #endif