Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
fbbd25d2
Commit
fbbd25d2
authored
Jun 21, 2010
by
Alexandre Savard
Browse files
[#3556, #3557] Add sh4, HPPA, s390 definitions in PJSIP's config.h
parent
1494a25f
Changes
1
Hide whitespace changes
Inline
Side-by-side
sflphone-common/libs/pjproject/pjlib/include/pj/config.h
View file @
fbbd25d2
...
...
@@ -275,6 +275,48 @@
# define PJ_HAS_PENTIUM 0
# define PJ_IS_LITTLE_ENDIAN 1
# define PJ_IS_BIG_ENDIAN 0
#elif defined (PJ_M_SH) || defined(__sh) || defined(__sh__) || \
defined(__SH__) || defined(__M_SH) || defined(_ARCH_SH)
/*
* Renesas SH, little endian and big endian
*/
# undef PJ_M_SH
# define PJ_M_SH 1
# define PJ_M_NAME "sh"
# define PJ_HAS_PENTIUM 0
# if defined(__LITTLE_ENDIAN__)
# define PJ_IS_LITTLE_ENDIAN 1
# define PJ_IS_BIG_ENDIAN 0
# elif defined(__BIG_ENDIAN__)
# define PJ_IS_LITTLE_ENDIAN 0
# define PJ_IS_BIG_ENDIAN 1
# endif
#elif defined (PJ_M_HPPA) || defined(__hppa) || defined(__hppa__) || \
defined(__HPPA__) || defined(__M_HPPA) || defined(_ARCH_HPPA)
/*
* HP/PA, big endian
*/
# undef PJ_M_HPPA
# define PJ_M_HPPA 1
# define PJ_M_NAME "hppa"
# define PJ_HAS_PENTIUM 0
# define PJ_IS_LITTLE_ENDIAN 0
# define PJ_IS_BIG_ENDIAN 1
#elif defined (PJ_M_S390) || defined(__s390) || defined(__s390__) || defined(__s390x) || \
defined(__s390x__) || defined(__M_s390) || defined(_ARCH_s390)
/*
* System 390, big endian
*/
# undef PJ_M_S390
# define PJ_M_S390 1
# define PJ_M_NAME "s390"
# define PJ_HAS_PENTIUM 0
# define PJ_IS_LITTLE_ENDIAN 0
# define PJ_IS_BIG_ENDIAN 1
#else
# error "Please specify target machine."
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment