summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 540f261)
raw | patch | inline | side by side (parent: 540f261)
author | Florian Forster <octo@huhu.verplant.org> | |
Thu, 1 May 2008 09:59:33 +0000 (11:59 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Thu, 1 May 2008 09:59:33 +0000 (11:59 +0200) |
Apparently Solaris uses that name..
src/collectd.h | patch | blob | history |
diff --git a/src/collectd.h b/src/collectd.h
index 80d86ba8e698ac0c039122b22e9f452945cd7070..55aac160587a889e488554ac1009660047d3382b 100644 (file)
--- a/src/collectd.h
+++ b/src/collectd.h
#endif
#ifndef BYTE_ORDER
-# ifdef __BYTE_ORDER
+# if defined(_BYTE_ORDER)
+# define BYTE_ORDER _BYTE_ORDER
+# elif defined(__BYTE_ORDER)
# define BYTE_ORDER __BYTE_ORDER
# endif
#endif
#ifndef BIG_ENDIAN
-# ifdef __BIG_ENDIAN
+# if defined(_BIG_ENDIAN)
+# define BIG_ENDIAN _BIG_ENDIAN
+# elif defined(__BIG_ENDIAN)
# define BIG_ENDIAN __BIG_ENDIAN
# endif
#endif