aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/utils/compiler.h')
-rw-r--r--src/lib/utils/compiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/utils/compiler.h b/src/lib/utils/compiler.h
index fd59c2d32..68fc51e6d 100644
--- a/src/lib/utils/compiler.h
+++ b/src/lib/utils/compiler.h
@@ -69,7 +69,7 @@
/*
* Define BOTAN_FUNC_ISA
*/
-#if defined(__GNUG__) || (BOTAN_CLANG_VERSION > 38)
+#if (defined(__GNUG__) && !defined(__clang__)) || (BOTAN_CLANG_VERSION > 38)
#define BOTAN_FUNC_ISA(isa) __attribute__ ((target(isa)))
#else
#define BOTAN_FUNC_ISA(isa)