[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] MiNT lib 55



Hi,

On Fri, May 12, 2000 at 07:54:39PM +0300, Martin-Éric Racine wrote:
> On 2000-5-12, Frank Naumann <fnaumann@freemint.de> wrote:
> 
> > L_SET is defined in <unistd.h> but better replace it by SEEK_SET.
> 
> Tell that to the Pine authors.

Or tell you once again to read the docs. ;-)
It's all in the file "NOTES" which is mentioned here and there in the
other docs.

To gain maximum compatibility simply add "-D_GNU_SOURCE" to your compiler
flags.  This will enable also BSD extensions (like L_SET or S_IFBLK).  For
these particular macros it is sufficient to add "-D_BSD_SOURCE".

Maybe it's a little comfort for you to know that you would have to do the
same to compile Pine under Linux.  In fact you have to do something like
this on every system with the GNU libc or another standard library that
keeps the application namespace clean.

In other words, blame the Pine authors, not the MiNTLib.

Ciao

Guido
-- 
http://www.stud.uni-saarland.de/
Send your spam to president@whitehouse.gov and your replies to
mailto:guido at freemint dot de