[PATCH] Preliminary MacOS X / Darwin patch

phandel at cise.ufl.edu phandel at cise.ufl.edu
Sat Feb 17 04:06:36 CET 2001


On Fri, 16 Feb 2001, Christophe Massiot wrote:

> On Fri, Feb 16, 2001, Samuel Hocevar wrote:
> 
> >    Thanks for the patch, let me know if you need it applied now or if
> > you want to wait a bit until you have more working stuff. Beware there
> > may be a few endianness issues in the code.
> 
> I don't think it's likely.

I am running into some strange parsing problems with
input/input_ext-dec.c.  I won't have too much more free time (at least
until March 24th :)  ), so there's no rush on this.

> > > +#ifndef SYS_DARWIN1_3
> > >  typedef int                 boolean_t;
> > > +#endif /* SYS_DARWIN1_3 */
> > 
> >    Could this be handled by an autoconf rule ? I'd like to get rid of
> > all SYS_* defines (except maybe for BeOS which is quite special). Where
> > on Darwin is boolean_t defined ?

/usr/include/mach/ppc/boolean.h:typedef int        boolean_t;

> We definitely need an accurate HAVE_BOOLEAN_T.
> 
> Last time I tried to compile under MacOS X, I got a cpp parse error
> (unexplainable error, obviously cpp smoked water), what version of
> gcc are you using ?

Yes, you definitely need to add -traditional-cpp.  I'm using gcc
2.95.2.


Thanks,
Peter

-- 
Peter F. Handel          "[The anti-Christ] also forced everyone, small and
phandel at cise.ufl.edu      great ... to receive a mark [smart card?] on his
www.cise.ufl.edu/~phandel right hand or on his forehead, so that no one could
FAX: (561) 619-8051       buy or sell unless he had the mark"-Revelation13:16





More information about the vlc-devel mailing list