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:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
/*
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user