Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
3863d8ea
Commit
3863d8ea
authored
May 14, 2010
by
antirez
Browse files
more endianess detection fix for SHA1
parent
3be2c9d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
sha1.c
View file @
3863d8ea
...
...
@@ -30,7 +30,7 @@ A million repetitions of "a"
#if (BSD >= 199103)
# include <machine/endian.h>
#else
#ifdef
linux
#if
def
ined(linux) || defined(__
linux
__)
# include <endian.h>
#else
#define LITTLE_ENDIAN 1234
/* least-significant byte first (vax, pc) */
...
...
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