Code

src/common.c: Make really sure BYTE_ORDER and BIG_ENDIAN are defined.
authorFlorian Forster <octo@huhu.verplant.org>
Mon, 31 Mar 2008 13:51:13 +0000 (15:51 +0200)
committerFlorian Forster <octo@huhu.verplant.org>
Mon, 31 Mar 2008 13:51:13 +0000 (15:51 +0200)
commitc42a2315b0b8fa86264c8202f661bef8e683ed20
tree16c2486cc4ae1eedeb9f3dd25898432b422caf96
parent20d7c9833c8c11d4a1039b5bf0eab4ad8e8f5281
src/common.c: Make really sure BYTE_ORDER and BIG_ENDIAN are defined.

If both, BYTE_ORDER and BIG_ENDIAN, are undefined, the statement
  #if BYTE_ORDER == BIG_ENDIAN
will be evaluated to `true', which may cause `ntohll' and `htonll' to behave
weird.
configure.in
src/collectd.h
src/common.c