Commit 9caf1a20 authored by antirez's avatar antirez
Browse files

Solaris fixes

parent aed57a31
...@@ -49,7 +49,7 @@ A million repetitions of "a" ...@@ -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 @@ ...@@ -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__ */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment