Bugzilla bug 105173: test the compiler-defined __SVR4 macro instead of

SVR4 for Solaris.
Modified Files:
        include/mcom_db.h include/ncompat.h src/memmove.c


git-svn-id: svn://10.0.0.236/trunk@106063 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
wtc%netscape.com
2001-10-23 22:05:06 +00:00
parent 0a13aa1bb1
commit 196a987032
3 changed files with 5 additions and 4 deletions

View File

@@ -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 <compat.h>
#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)

View File

@@ -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
/*

View File

@@ -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.