summaryrefslogtreecommitdiff
path: root/pr/include/md/_netbsd.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'pr/include/md/_netbsd.cfg')
-rw-r--r--pr/include/md/_netbsd.cfg8
1 files changed, 5 insertions, 3 deletions
diff --git a/pr/include/md/_netbsd.cfg b/pr/include/md/_netbsd.cfg
index ef52198e..92a0b81c 100644
--- a/pr/include/md/_netbsd.cfg
+++ b/pr/include/md/_netbsd.cfg
@@ -27,7 +27,9 @@
#define NETBSD
#endif
-#if defined(__i386__) || defined(__arm32__)
+#define PR_AF_INET6 24 /* same as AF_INET6 */
+
+#if defined(__i386__) || defined(__arm32__) || defined(__MIPSEL__)
#define IS_LITTLE_ENDIAN 1
#undef IS_BIG_ENDIAN
@@ -73,9 +75,9 @@
#define PR_ALIGN_OF_DOUBLE 4
#define PR_ALIGN_OF_POINTER 4
-#elif defined(__sparc__) || defined(__mips__)
+#elif defined(__sparc__) || defined(__MIPSEB__)
-#undef IS_LITTLE_ENDIAN 1
+#undef IS_LITTLE_ENDIAN
#define IS_BIG_ENDIAN 1
#define HAVE_LONG_LONG
#define HAVE_ALIGNED_DOUBLES