Fix for SunOS 4 builds. RDF_19990407_BASE SeaMonkey_M4_BASE
authorbriano%netscape.com
Thu, 08 Apr 1999 23:51:11 +0000
changeset 117 050cebf213f48713b18b901827e3e2997e7e2ef3
parent 111 d8debc661f2a9573149505951aeb15bf7644d4b5
child 118 f4cf25aed497eb0a8b0337285164f63a19b3930a
child 119 e323e4940c6953699366b898937b391ba5ecc162
child 120 51451c2c192b1897b064ada1650699e558f9ed7f
push idunknown
push userunknown
push dateunknown
Fix for SunOS 4 builds.
dbm/include/mcom_db.h
--- a/dbm/include/mcom_db.h
+++ b/dbm/include/mcom_db.h
@@ -67,18 +67,17 @@
 #define LITTLE_ENDIAN   1234            /* LSB first: i386, vax, all NT risc */
 #define	__BIT_TYPES_DEFINED__
 #endif
 
 #ifdef __sun
 #define BIG_ENDIAN      4321
 #define LITTLE_ENDIAN   1234            /* LSB first: i386, vax, all NT risc */
 
-#if !defined(SVR4) && !defined(__svr4__) && !defined(__SVR4)
-/* compat.h is only in 4.1.3 machines. - dp */
+#ifdef HAVE_COMPAT_H
 #include <compat.h>
 #endif
 
 /* XXX - dp
  * Need to find a general way of defining endian-ness in SunOS 5.3
  * SunOS 5.4 defines _BIG_ENDIAN and _LITTLE_ENDIAN
  * SunOS 5.3 does nothing like this.
  */