mirror of
https://github.com/fluencelabs/redis
synced 2025-06-14 09:41:21 +00:00
Use ARM unaligned accesses ifdefs for SPARC as well.
This commit is contained in:
@ -215,4 +215,13 @@ void setproctitle(const char *fmt, ...);
|
||||
#define __arm64__
|
||||
#endif
|
||||
|
||||
/* Make sure we can test for SPARC just checking for __sparc__. */
|
||||
#if defined(__sparc) && !defined(__sparc__)
|
||||
#define __sparc__
|
||||
#endif
|
||||
|
||||
#if defined(__sparc__) || defined(__arm__)
|
||||
#define USE_ALIGNED_ACCESS
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user