Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 948341 Details for
Bug 1153786
pjproject on arm should force PJ_IS_LITTLE_ENDIAN
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch for arm endianess
0005-arm_endianess.patch (text/plain), 1.19 KB, created by
George Joseph
on 2014-10-19 23:48:05 UTC
(
hide
)
Description:
Patch for arm endianess
Filename:
MIME Type:
Creator:
George Joseph
Created:
2014-10-19 23:48:05 UTC
Size:
1.19 KB
patch
obsolete
>diff -uprN a/pjlib/include/pj/config.h b/pjlib/include/pj/config.h >--- a/pjlib/include/pj/config.h 2014-10-15 09:56:34.510724006 -0600 >+++ b/pjlib/include/pj/config.h 2014-10-19 13:46:46.071057753 -0600 >@@ -238,14 +238,22 @@ > #elif defined (PJ_M_ARMV4) || defined(ARM) || defined(_ARM_) || \ > defined(ARMV4) || defined(__arm__) > /* >- * ARM, bi-endian, so raise error if endianness is not configured >+ * ARM, bi-endian, so raise error if endianness is not configured or detected > */ > # undef PJ_M_ARMV4 > # define PJ_M_ARMV4 1 > # define PJ_M_NAME "armv4" > # define PJ_HAS_PENTIUM 0 > # if !PJ_IS_LITTLE_ENDIAN && !PJ_IS_BIG_ENDIAN >-# error Endianness must be declared for this processor >+# if (defined(__BYTE_ORDER__) && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__) >+# define PJ_IS_LITTLE_ENDIAN 1 >+# define PJ_IS_BIG_ENDIAN 0 >+# elif (defined(__BYTE_ORDER__) && __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__) >+# define PJ_IS_LITTLE_ENDIAN 0 >+# define PJ_IS_BIG_ENDIAN 1 >+# else >+# error Endianness must be declared for this processor >+# endif > # endif > > #elif defined (PJ_M_POWERPC) || defined(__powerpc) || defined(__powerpc__) || \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1153786
: 948341