Patch for BeOS, thanks to Duncan Wilcox. RDF_19990617_BASE SeaMonkey_M7_19990619_BASE SeaMonkey_M7_BASE TREEWIDGET_19990616_BASE sspitzer-news-tag
authormcafee%netscape.com
Tue, 15 Jun 1999 01:24:06 +0000
changeset 137 59e23ad1545085e832517235fe1deff14a060dbf
parent 136 bc3bd939fc60774bcae2b084bed6811db2d6bb99
child 138 93755a425c0e6ce13c5fe6ece6d34117be915679
child 139 c95287a8da6f6df0edbd872132acd704df10858b
child 140 7d8abb871612ad8612d79289879fe70bbc65f7cc
child 141 bd102a6929890c1343dec15914993bcce6c02b17
child 152 e1236e9b12188f64a205733573800a6cf9f49f62
push idunknown
push userunknown
push dateunknown
Patch for BeOS, thanks to Duncan Wilcox.
dbm/include/mcom_db.h
--- a/dbm/include/mcom_db.h
+++ b/dbm/include/mcom_db.h
@@ -61,17 +61,17 @@
 #endif
 #include "prtypes.h"
 
 #ifdef HAVE_SYS_BYTEORDER_H
 #include <sys/types.h>
 #include <sys/byteorder.h>
 #endif
 
-#ifdef __linux
+#if defined(__linux) || defined(__BEOS__)
 #include <endian.h>
 #ifndef BYTE_ORDER
 #define BYTE_ORDER    __BYTE_ORDER
 #define BIG_ENDIAN    __BIG_ENDIAN
 #define LITTLE_ENDIAN __LITTLE_ENDIAN
 #endif
 #endif /* __linux */