pkgsrc-Bugs archive

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

RE: pkg/40265: audio/flac - portability patch for Solaris < 10



The following reply was made to PR pkg/40265; it has been noted by GNATS.

From: "Larson, Timothy E." <TELarson%west.com@localhost>
To: <gnats-bugs%NetBSD.org@localhost>, <pkg-manager%netbsd.org@localhost>,
        <gnats-admin%netbsd.org@localhost>, <pkgsrc-bugs%netbsd.org@localhost>
Cc: 
Subject: RE: pkg/40265: audio/flac - portability patch for Solaris < 10
Date: Fri, 26 Dec 2008 11:00:03 -0600

 > The comment said that stdint.h is for SIZE_MAX.
 > Does older Solaris define SIZE_MAX in inttypes.h?
 =20
 Mine (Sol 9) does not.  However, I reasoned that since inttypes.h is a
 rough equivalent for stdint.h, it may on some systems. =20
 
 Trying to include stdint.h definitely results in a no-such-file error
 for me, so conditional inclusion of stdint.h is necessary.  However, we
 could just skip the conditional inttypes.h inclusion, and use the
 fallback conditional definition of SIZE_MAX that immediately follows
 this block.
 
 
 Tim
 


Home | Main Index | Thread Index | Old Index