summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorrob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-10-18 17:52:45 +0000
committerrob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-10-18 17:52:45 +0000
commite02f698fba251a63ab59978534eddc56eb015665 (patch)
tree9053de9f3debf792eb63753ff4bf542831dbd03c /include
parentc2e07f08ea99a8dd76362fa28a4037eabe9e4283 (diff)
BUILD : 1.7.17 (1190) BUGS : N/A NOTES : sha1 is a valid choice of encryption hash
git-svn-id: svn://svn.anope.org/anope/trunk@1190 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@910 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include')
-rw-r--r--include/sysconf.h.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/sysconf.h.in b/include/sysconf.h.in
index d54f58617..59f900433 100644
--- a/include/sysconf.h.in
+++ b/include/sysconf.h.in
@@ -161,6 +161,26 @@
/* Static config, copy from here to below before running autoheader! */
+#ifndef BIG_ENDIAN
+
+/* Big Endian system */
+#undef BIG_ENDIAN
+
+#endif
+
+#ifndef LITTLE_ENDIAN
+
+/* Little Endian system */
+#undef LITTLE_ENDIAN
+
+#endif
+
+/**
+ * NOTE: BIG_ENDIAN and LITTLE_ENDIAN defines should not be left in
+ * by autoheader as they may be defined or may not be, as such we check
+ * if there defined before messing with them!
+ **/
+
#ifdef HAS_SYS_TYPES_H
#include <sys/types.h>
#endif