mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2025-02-18 20:37:42 +00:00
Partially revert 714daaf5706e9e2b.
We were mostly OK under i686/x86_64, but Clang died completely under ARM-32 and Aarch64.
This commit is contained in:
parent
584f2f2ad1
commit
32ae3e52f1
@ -249,14 +249,6 @@ typedef unsigned int word32;
|
||||
typedef word64 lword;
|
||||
const lword LWORD_MAX = W64LIT(0xffffffffffffffff);
|
||||
|
||||
// Clang pretends to be GCC, but can't consume the same programs. It breaks completely with -march-x86-64
|
||||
#if defined(__GNUC__) && defined(__clang__)
|
||||
# undef __GNUC__
|
||||
# undef __GNUC_MINOR__
|
||||
# undef __GNUC_PATCHLEVEL__
|
||||
# define __GNUC__ 4
|
||||
#endif
|
||||
|
||||
// Clang pretends to be VC++, too.
|
||||
// See http://github.com/weidai11/cryptopp/issues/147
|
||||
#if defined(_MSC_VER) && defined(__clang__)
|
||||
|
8
config.h
8
config.h
@ -249,14 +249,6 @@ typedef unsigned int word32;
|
||||
typedef word64 lword;
|
||||
const lword LWORD_MAX = W64LIT(0xffffffffffffffff);
|
||||
|
||||
// Clang pretends to be GCC, but can't consume the same programs. It breaks completely with -march-x86-64
|
||||
#if defined(__GNUC__) && defined(__clang__)
|
||||
# undef __GNUC__
|
||||
# undef __GNUC_MINOR__
|
||||
# undef __GNUC_PATCHLEVEL__
|
||||
# define __GNUC__ 4
|
||||
#endif
|
||||
|
||||
// Clang pretends to be VC++, too.
|
||||
// See http://github.com/weidai11/cryptopp/issues/147
|
||||
#if defined(_MSC_VER) && defined(__clang__)
|
||||
|
Loading…
x
Reference in New Issue
Block a user