This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch for Darwin


On Mon, Apr 11, 2005 at 01:25:54AM +0200, Marcin Dalecki wrote:
> 
> I have to thank you. BTW the attached patch is fixing the compilation 
> inside
> a cross build environment for Darwin.

I am forwarding your patch to the binutils mailing list.

> 
> Another question: Would you contemplate including patches for 
> configuration
> of a uclibc based target?
> 
> 

Please send them to the binutils mailing list.


H.J.
----
diff -ur binutils-2.16.90.0.1/include/libiberty.h binutils-2.16.90.0.1-new/include/libiberty.h
--- binutils-2.16.90.0.1/include/libiberty.h	Sat Apr  9 21:03:16 2005
+++ binutils-2.16.90.0.1-new/include/libiberty.h	Mon Apr 11 00:28:29 2005
@@ -74,7 +74,7 @@
    to find the declaration so provide a fully prototyped one.  If it
    is 1, we found it so don't provide any declaration at all.  */
 #if !HAVE_DECL_BASENAME
-#if defined (__GNU_LIBRARY__ ) || defined (__linux__) || defined (__FreeBSD__) || defined (__OpenBSD__) || defined(__NetBSD__) || defined (__CYGWIN__) || defined (__CYGWIN32__) || defined (__MINGW32__) || defined (HAVE_DECL_BASENAME)
+#if defined (__GNU_LIBRARY__ ) || defined (__linux__) || defined (__FreeBSD__) || defined (__OpenBSD__) || defined(__NetBSD__) || defined (__CYGWIN__) || defined (__CYGWIN32__) || defined (__MINGW32__) || defined (__APPLE__) || defined (HAVE_DECL_BASENAME)
 extern char *basename (const char *);
 #else
 extern char *basename ();


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]