Bugzilla: 61747. netbsd NSPRPUB_CLIENT_BRANCH
authorlarryh%netscape.com
Fri, 01 Dec 2000 21:34:03 +0000
branchNSPRPUB_CLIENT_BRANCH
changeset 1629 577245322ec9b2f2fefac4d7295eb6436afd69b6
parent 1626 237681a133bf3c916d1bf11f32859b2f17ef2dc3
child 1632 8691b82dbca0ed948a6fe529424834ef4962e2d7
push idunknown
push userunknown
push dateunknown
bugs61747
Bugzilla: 61747. netbsd
pr/include/md/_netbsd.cfg
--- a/pr/include/md/_netbsd.cfg
+++ b/pr/include/md/_netbsd.cfg
@@ -24,17 +24,17 @@
 #endif
 
 #ifndef NETBSD
 #define NETBSD
 #endif
 
 #define PR_AF_INET6 24  /* same as AF_INET6 */
 
-#if defined(__i386__) || defined(__arm32__)
+#if defined(__i386__) || defined(__arm32__) || defined(__MIPSEL__)
 
 #define IS_LITTLE_ENDIAN 1
 #undef  IS_BIG_ENDIAN
 #define	HAVE_LONG_LONG
 #undef	HAVE_ALIGNED_DOUBLES
 #undef	HAVE_ALIGNED_LONGLONGS
 
 #define PR_BYTES_PER_BYTE   1
@@ -70,17 +70,17 @@
 #define PR_ALIGN_OF_SHORT   2
 #define PR_ALIGN_OF_INT     4
 #define PR_ALIGN_OF_LONG    4
 #define PR_ALIGN_OF_INT64   4
 #define PR_ALIGN_OF_FLOAT   4
 #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
 #define  IS_BIG_ENDIAN 1
 #define HAVE_LONG_LONG
 #define  HAVE_ALIGNED_DOUBLES
 #define  HAVE_ALIGNED_LONGLONGS
 
 #define PR_BYTES_PER_BYTE   1