summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2002-12-04 02:05:31 +0000
committerDJ Delorie <dj@delorie.com>2002-12-04 02:05:31 +0000
commit961b67851b6b92346b3c42a7b77baea226adf5cb (patch)
tree1b7277a4b891f36dab0029828c633758f7b5eec9
parent0cf42cd1fe8ee9f5597b68d1cb39e3f6f2ae9b93 (diff)
downloadgdb-961b67851b6b92346b3c42a7b77baea226adf5cb.tar.gz
merge from gcc
-rw-r--r--libiberty/ChangeLog5
-rw-r--r--libiberty/make-relative-prefix.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index c58dc1fd782..7280aa03747 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,8 @@
+2002-12-04 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
+ Define for hosts with HOST_EXECUTABLE_SUFFIX.
+
2002-11-24 Nick Clifton <nickc@redhat.com>
* make-relative-prefix.c (make_relative_prefix): Ensure return
diff --git a/libiberty/make-relative-prefix.c b/libiberty/make-relative-prefix.c
index ef9177e9c93..c208cdce024 100644
--- a/libiberty/make-relative-prefix.c
+++ b/libiberty/make-relative-prefix.c
@@ -67,6 +67,7 @@ can be found, return @code{NULL}.
#if defined (_WIN32) || defined (__MSDOS__) \
|| defined (__DJGPP__) || defined (__OS2__)
# define HAVE_DOS_BASED_FILE_SYSTEM
+# define HAVE_HOST_EXECUTABLE_SUFFIX
# define HOST_EXECUTABLE_SUFFIX ".exe"
# ifndef DIR_SEPARATOR_2
# define DIR_SEPARATOR_2 '\\'