* Dmitry Frolov <[EMAIL PROTECTED]> [15.12.2006 22:54]: > * Anand Babu <[EMAIL PROTECTED]> [15.12.2006 17:31]: > > > On Fri, Dec 15, 2006 at 03:56:08PM +0600, Dmitry Frolov wrote: > > ,---- > > | I'm sorry guys, that's completely my fault, since I brought > > | HAVE_STDINT_H into the tree. The better way would be that ugly > > | construct: > > | > > | #ifdef __FreeBSD__ > > | # include <sys/param.h> > > | # if __FreeBSD_version >= 500000 > > | # include <stdint.h> > > | # else > > | # include <inttypes.h> /* stdint.h predecessor */ > > | # endif > > | #else > > | # include <stdint.h> > > | #endif > > `---- > > inttypes.h does not exist in FreeBSD any more? > > Under GNU environment, inttypes.h internally includes stdint.h. > > inttypes.h defines portable format string macros. > > > > If inttypes.h still exists and always included stdint.h, then a > > simpler solution would be to replace stdint.h with inttypes.h. It will > > work for both FreeBSD and GNU environment. > > After some thought, the right thing is to just use stdint.h. I brought > stdint.h check for the sole purpose to support FreeBSD 4.x, which is not > possible anymore in 0.3.0 due to missing getpwuid_r() implementation. > So dropping FBSD 4.x support seems to be natural.
And, yes, inttypes.h also exist here if You want it ;) I'm still sorry for such an inconvenience I created. wbr&w, dmitry. -- Dmitry Frolov <[EMAIL PROTECTED]> RISS-Telecom Network, Novosibirsk, Russia [EMAIL PROTECTED], +7 383 2278800, DVF-RIPE _______________________________________________ Freeipmi-devel mailing list Freeipmiemail@example.com http://lists.gnu.org/mailman/listinfo/freeipmi-devel