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 comment said that stdint.h is for SIZE_MAX.
> Does older Solaris define SIZE_MAX in inttypes.h?
Mine (Sol 9) does not.  However, I reasoned that since inttypes.h is a
rough equivalent for stdint.h, it may on some systems.  

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.


Home | Main Index | Thread Index | Old Index