http://d.puremagic.com/issues/show_bug.cgi?id=9296
Summary: LITTLE_ENDIAN and BIG_ENDIAN are always defined on
Linux
Product: D
Version: D1 & D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from [email protected] 2013-01-11 12:49:09 PST ---
On a Linux system with a recent glibc both LITTLE_ENDIAN and BIG_ENDIAN are
always(!) defined. The definition is in include file <endian.h> which is
included by many other, including <stdlib.h>.
Therefore use of #if LITTLE_ENDIAN in dmd source works only by coincidence.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------