diff options
author | dannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-12-04 01:57:27 +0000 |
---|---|---|
committer | dannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-12-04 01:57:27 +0000 |
commit | e162e528669716b8ae25a50706321cda251aa092 (patch) | |
tree | 1892c9140019207ddbb117c18f1f320b3c69f944 /libiberty | |
parent | 3ed88cc92705b46b65a145da60443e50cc343893 (diff) | |
download | gcc-e162e528669716b8ae25a50706321cda251aa092.tar.gz |
* make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
Define for hosts with HOST_EXECUTABLE_SUFFIX.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59797 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty')
-rw-r--r-- | libiberty/ChangeLog | 5 | ||||
-rw-r--r-- | libiberty/make-relative-prefix.c | 1 |
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 '\\' |