On 25/10/06, Jack O'Quin <jack.oquin gmail.com> wrote:
> On 10/24/06, mal content <artifact.one googlemail.com> wrote:
> > Hello.
> >
> > The new libjack/midiport.c code does not compile
on FreeBSD. FreeBSD
> > does not have ENODATA (I don't think this error
code is very portable).
> >
> > This is an unpleasant hack:
> >
> > +/* FreeBSD (at least) does not have ENODATA */
> > +#ifndef ENODATA
> > +#define ENODATA (ELAST + 1)
> > +#endif
> > +
> > typedef struct _jack_midi_port_info_private {
> > jack_midi_port_info_t info;
> > jack_nframes_t last_write_loc;
/**< Used for both
> > writing and mixdown */
> >
> > Hopefully you lot will come up with something
nicer (perhaps not using
> > ENODATA)...
>
> That would seem best.
>
> Thanks for the report.
I received an idea from someone at FreeBSD earlier: ENOMSG.
Apparently this is more portable.
cheers,
MC
------------------------------------------------------------
-------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jackit-devel mailing list
Jackit-devel lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jackit-dev
el
|