aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mp_amd64/mp_asmi.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mp_amd64/mp_asmi.h')
-rw-r--r--modules/mp_amd64/mp_asmi.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/mp_amd64/mp_asmi.h b/modules/mp_amd64/mp_asmi.h
index daa1243ca..cb606cfe3 100644
--- a/modules/mp_amd64/mp_asmi.h
+++ b/modules/mp_amd64/mp_asmi.h
@@ -13,7 +13,9 @@ namespace Botan {
/*************************************************
* Helper Macros for amd64 Assembly *
*************************************************/
-#define ASM(x) x "\n\t"
+#ifndef ASM
+ #define ASM(x) x "\n\t"
+#endif
#define ADDSUB2_OP(OPERATION, INDEX) \
ASM("movq 8*" INDEX "(%[y]), %[carry]") \