mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
fix for big endian LP64 systems
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39878 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
21d242b151
commit
776631838d
2 changed files with 14 additions and 0 deletions
|
@ -45,10 +45,16 @@
|
|||
#import "GSInvocation.h"
|
||||
#import "GSPrivate.h"
|
||||
|
||||
/* For each architecture, we need to know the native word size to
|
||||
* which smaller integral types are promoted when they are passed
|
||||
* as function arguments or return type.
|
||||
*/
|
||||
#if defined(ALPHA) || (defined(MIPS) && (_MIPS_SIM == _ABIN32))
|
||||
typedef long long smallret_t;
|
||||
#elif defined(__sparc)
|
||||
typedef NSInteger smallret_t;
|
||||
#elif defined(__LP64__)
|
||||
typedef NSInteger smallret_t;
|
||||
#else
|
||||
typedef int smallret_t;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue