mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
Solaris fixes
This commit is contained in:
parent
aed57a31af
commit
9caf1a2043
2
sha1.c
2
sha1.c
@ -49,7 +49,7 @@ A million repetitions of "a"
|
|||||||
defined(apollo) || defined(__convex__) || defined(_CRAY) || \
|
defined(apollo) || defined(__convex__) || defined(_CRAY) || \
|
||||||
defined(__hppa) || defined(__hp9000) || \
|
defined(__hppa) || defined(__hp9000) || \
|
||||||
defined(__hp9000s300) || defined(__hp9000s700) || \
|
defined(__hp9000s300) || defined(__hp9000s700) || \
|
||||||
defined (BIT_ZERO_ON_LEFT) || defined(m68k)
|
defined (BIT_ZERO_ON_LEFT) || defined(m68k) || defined(__sparc)
|
||||||
#define BYTE_ORDER BIG_ENDIAN
|
#define BYTE_ORDER BIG_ENDIAN
|
||||||
#endif
|
#endif
|
||||||
#endif /* linux */
|
#endif /* linux */
|
||||||
|
@ -15,4 +15,6 @@
|
|||||||
#define isinf(x) \
|
#define isinf(x) \
|
||||||
__extension__ ({ __typeof (x) __x_i = (x); \
|
__extension__ ({ __typeof (x) __x_i = (x); \
|
||||||
__builtin_expect(!isnan(__x_i) && !isfinite(__x_i), 0); })
|
__builtin_expect(!isnan(__x_i) && !isfinite(__x_i), 0); })
|
||||||
|
|
||||||
|
#define u_int uint
|
||||||
#endif /* __GNUC__ */
|
#endif /* __GNUC__ */
|
||||||
|
Loading…
Reference in New Issue
Block a user