Closed Bug 621043 Opened 14 years ago Closed 14 years ago

AIX: avmplus.h fails in xlC due to GCC-isms only on #ifdef __powerpc__

Categories

(Core :: JavaScript Engine, defect)

PowerPC
AIX
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: andrew, Unassigned)

Details

(Whiteboard: fixed-in-nanojit, fixed-in-tracemonkey)

Attachments

(1 file)

The AVMPLUS_HAS_RDTSC definition for __powerpc__ has GCC-isms that cause xlC to fail. This simply puts it under a __GNUC__ check as well to ensure xlC falls through.
Attachment #499381 - Flags: review?(mrbkap)
Attachment #499381 - Flags: approval2.0?
Comment on attachment 499381 [details] [diff] [review] Add __GNUC__ check to avmplus.h r+ before a?, please (we'll probably take these after we ship)
Attachment #499381 - Flags: approval2.0?
Attachment #499381 - Flags: review?(mrbkap) → review+
njn, we need to land this in the nanojit repo, right?
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: