: Re: [MPlayer-dev-eng] [PATCH] fix compilation on intel mac

Martin Simmons vyslnqaaxytp at spammotel.com
Sun Apr 9 00:59:59 CEST 2006


>>>>> On Thu, 6 Apr 2006 20:37:32 -0400, Nicolas Plourde <nicolas.plourde at gmail.com> said:
>
> --- mangle.h	30 Mar 2003 20:11:05 -0000	1.6
> +++ mangle.h	4 Apr 2006 11:28:04 -0000
> @@ -9,7 +9,7 @@
> 
>  /* Feel free to add more to the list, eg. a.out IMO */
>  #if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__OS2__) || \
> -   (defined(__OpenBSD__) && !defined(__ELF__))
> +   (defined(__OpenBSD__) || defined(__APPLE__) && !defined(__ELF__))

This looks wrong to me, since it will break not-ELF detection on OpenBSD.

Did you mean this?

 #if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__OS2__) || \
-   (defined(__OpenBSD__) && !defined(__ELF__))
+   (defined(__OpenBSD__) && !defined(__ELF__)) || defined(__APPLE__)


__Martin




More information about the MPlayer-dev-eng mailing list