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:
Jeffrey Walton 2016-09-21 00:35:59 -04:00
parent 584f2f2ad1
commit 32ae3e52f1
2 changed files with 0 additions and 16 deletions

View File

@ -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__)

View File

@ -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__)