diff options
author | Mouse <mouse07410@users.noreply.github.com> | 2020-12-28 09:39:45 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-28 09:39:45 -0500 |
commit | ef9b62f00a35bafca19a361b51a5c9c0c8813060 (patch) | |
tree | 65935e535d1fc4de17e6af992fa642d4d627b9da /config_asm.h | |
parent | e235ac57e85b1802dcb12e541344a7f228e594bc (diff) | |
download | cryptopp-git-ef9b62f00a35bafca19a361b51a5c9c0c8813060.tar.gz |
Update config_asm.h
Fix compilation on MacOS with Xcode-12.3 clang, and GCC (tested with Macports-installed GCC-10 and `AS_INTEGRATED_ASSEMBLER=1` setting).
Diffstat (limited to 'config_asm.h')
-rw-r--r-- | config_asm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config_asm.h b/config_asm.h index 4e91e40a..5bd42711 100644 --- a/config_asm.h +++ b/config_asm.h @@ -47,7 +47,7 @@ // Also see https://bugs.llvm.org/show_bug.cgi?id=39895 .
// #define CRYPTOPP_DISABLE_MIXED_ASM 1
-#if defined(__clang__) || defined(__SUNPRO_CC)
+#if defined(__clang__) || (defined(__APPLE__) && defined(__GNUC__)) || defined(__SUNPRO_CC)
# undef CRYPTOPP_DISABLE_MIXED_ASM
# define CRYPTOPP_DISABLE_MIXED_ASM 1
#endif
|