aboutsummaryrefslogtreecommitdiff
path: root/gas/as.h
diff options
context:
space:
mode:
Diffstat (limited to 'gas/as.h')
-rw-r--r--gas/as.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/as.h b/gas/as.h
index f51a210..5c22488 100644
--- a/gas/as.h
+++ b/gas/as.h
@@ -134,7 +134,8 @@ extern PTR realloc ();
extern void free ();
#endif
-#ifdef USE_DELETE_FOR_UNLINK
+/* This is needed for VMS. */
+#if ! defined (HAVE_UNLINK) && defined (HAVE_DELETE)
#define unlink delete
#endif