diff --git a/mozilla/dbm/include/mcom_db.h b/mozilla/dbm/include/mcom_db.h index 973e8e32041..9ec583711e4 100644 --- a/mozilla/dbm/include/mcom_db.h +++ b/mozilla/dbm/include/mcom_db.h @@ -112,7 +112,8 @@ #define BIG_ENDIAN 4321 #define LITTLE_ENDIAN 1234 /* LSB first: i386, vax, all NT risc */ -#ifdef HAVE_COMPAT_H +#ifndef __SVR4 +/* compat.h is only in 4.1.3 machines. - dp */ #include #endif @@ -128,7 +129,7 @@ #define BYTE_ORDER BIG_ENDIAN #elif defined(_LITTLE_ENDIAN) #define BYTE_ORDER LITTLE_ENDIAN -#elif !defined(SVR4) +#elif !defined(__SVR4) /* 4.1.3 is always BIG_ENDIAN as it was released only on sparc platforms. */ #define BYTE_ORDER BIG_ENDIAN #elif !defined(vax) && !defined(ntohl) && !defined(lint) && !defined(i386) diff --git a/mozilla/dbm/include/ncompat.h b/mozilla/dbm/include/ncompat.h index 640da046d10..c95b327feb3 100644 --- a/mozilla/dbm/include/ncompat.h +++ b/mozilla/dbm/include/ncompat.h @@ -71,7 +71,7 @@ typedef unsigned int sigset_t; * If your system's vsprintf returns a char *, not an int, * change the 0 to a 1. */ -#if defined (__sun) && !defined(SVR4) /* SUNOS */ +#if defined (__sun) && !defined(__SVR4) /* SUNOS */ #define VSPRINTF_CHARSTAR #endif /* diff --git a/mozilla/dbm/src/memmove.c b/mozilla/dbm/src/memmove.c index c4f9ff02efc..70eb1e5d245 100644 --- a/mozilla/dbm/src/memmove.c +++ b/mozilla/dbm/src/memmove.c @@ -1,4 +1,4 @@ -#if defined(__sun) && !defined(__svr4__) +#if defined(__sun) && !defined(__SVR4) /*- * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved.