Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
9caf1a20
Commit
9caf1a20
authored
May 18, 2010
by
antirez
Browse files
Solaris fixes
parent
aed57a31
Changes
2
Hide whitespace changes
Inline
Side-by-side
sha1.c
View file @
9caf1a20
...
...
@@ -49,7 +49,7 @@ A million repetitions of "a"
defined(apollo) || defined(__convex__) || defined(_CRAY) || \
defined(__hppa) || defined(__hp9000) || \
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
#endif
#endif
/* linux */
...
...
solarisfixes.h
View file @
9caf1a20
...
...
@@ -15,4 +15,6 @@
#define isinf(x) \
__extension__ ({ __typeof (x) __x_i = (x); \
__builtin_expect(!isnan(__x_i) && !isfinite(__x_i), 0); })
#define u_int uint
#endif
/* __GNUC__ */
Write
Preview
Markdown
is supported
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