modes/modes_lcl.h: make it indent-friendly.
Conflicts: crypto/modes/modes_lcl.h Reviewed-by: Tim Hudson <tjh@openssl.org>
This commit is contained in:
parent
3cf9f81b09
commit
1d7c823ab5
@ -34,7 +34,7 @@ typedef unsigned char u8;
|
||||
#endif
|
||||
|
||||
#if !defined(PEDANTIC) && !defined(OPENSSL_NO_ASM) && !defined(OPENSSL_NO_INLINE_ASM)
|
||||
#if defined(__GNUC__) && __GNUC__>=2
|
||||
# if defined(__GNUC__) && __GNUC__>=2
|
||||
# if defined(__x86_64) || defined(__x86_64__)
|
||||
# define BSWAP8(x) ({ u64 ret=(x); \
|
||||
asm ("bswapq %0" \
|
||||
@ -60,7 +60,7 @@ typedef unsigned char u8;
|
||||
: "=r"(ret) : "r"((u32)(x))); \
|
||||
ret; })
|
||||
# endif
|
||||
#elif defined(_MSC_VER)
|
||||
# elif defined(_MSC_VER)
|
||||
# if _MSC_VER>=1300
|
||||
# pragma intrinsic(_byteswap_uint64,_byteswap_ulong)
|
||||
# define BSWAP8(x) _byteswap_uint64((u64)(x))
|
||||
@ -72,7 +72,7 @@ typedef unsigned char u8;
|
||||
}
|
||||
# define BSWAP4(x) _bswap4(x)
|
||||
# endif
|
||||
#endif
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if defined(BSWAP4) && !defined(STRICT_ALIGNMENT)
|
||||
|
Loading…
x
Reference in New Issue
Block a user