Hello all,
hello Matt,

Johannes Br�gmann schrieb am Fr, 06 Feb 2004 (um 09:12:57 +0100):

> Matt Wilson schrieb am Do, 05 Feb 2004 (um 22:08:41 +0000):
> > I've got exactly the same problem, line for line :P The code around line
> > #255 of pngconf.h is a block of macros;
> > 
> > 249: #  ifdef __linux__
> > 250: #    ifdef _BSD_SOURCE
> > 251: #      define PNG_SAVE_BSD_SOURCE
> > 252: #      undef _BSD_SOURCE
> > 253: #    endif
> > 254: #    ifdef _SETJMP_H
> > 255:       __png.h__ already includes setjmp.h;
> > 256:       __dont__ include it again.;
> > 257: #    endif
> > 258: #  endif /* __linux__ */
> > 
> > 'setjmp.h' message or something?
> 
> I checked the 
> grep setjmp.h /usr/include/png.h 
> and setjmp.h isn't included in png.h. Any suggestions?

Even though I don't know what I'm doing it worx. 

Changing the code above in
254: #    ifdef _SETJMP_H
255: /*      __png.h__ already includes setjmp.h;
256:  *      __dont__ include it again.;
257:  */
258: #      include <setjmp.h>
259: #    endif

is effective.

Maybe anybody has a better idea or could explain why this works or how 
this happens etc.? Or what for I have to watch in the future?

Regards,
Johannes

-- 
      "Jedes Haus wird von jemandem erbaut; der aber alles erbaut  hat,
      das ist Gott."
      
      Hebr�er 3,4
      

--
[EMAIL PROTECTED] mailing list

Reply via email to