Project

General

Profile

Actions

Bug #7043

closed

endian.h uses bad macros for _BIG_ENDIAN

Added by Robert Mustacchi over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Category:
lib - userland libraries
Start date:
2016-06-05
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

On the SPARC build it was observed that the endian.h changes were breaking. This is due to a bad use of the pre-processor. In the else cases for _BIG_ENDIAN we incorrectly use a #elif _BIG_ENDIAN without correctly asking it it's defined. This changes all the use of the pre-processor bits in endian.h and its tests to use defined().


Related issues

Related to illumos gate - Bug #7142: build failed on sparc after endian integrationClosedIgor Kozhukhov2016-06-26

Actions
Actions

Also available in: Atom PDF