aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcryptobox/macro.S
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-09-04 19:57:54 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-09-04 19:57:54 +0100
commit546f2ebf17fd4abb42e974c714d8df9d33648226 (patch)
tree91acc8507116fc82e71c0cce20d4941b5b229581 /src/libcryptobox/macro.S
parentc44fa2f60f96c9fa6f13a6f867aacdbe687ac6c7 (diff)
downloadrspamd-546f2ebf17fd4abb42e974c714d8df9d33648226.tar.gz
rspamd-546f2ebf17fd4abb42e974c714d8df9d33648226.zip
[Minor] Fix macro usage
Diffstat (limited to 'src/libcryptobox/macro.S')
-rw-r--r--src/libcryptobox/macro.S6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libcryptobox/macro.S b/src/libcryptobox/macro.S
index a80728efe..f213f15f9 100644
--- a/src/libcryptobox/macro.S
+++ b/src/libcryptobox/macro.S
@@ -1,12 +1,10 @@
#include "platform_config.h"
-#define IS_MACH (defined(__MACH__))
-
#if !defined(HAVE_SLASHMACRO) && !defined(HAVE_DOLLARMACRO)
#error Unknown gnu as macro parameter convention! Run ./configure
#endif
-#if (IS_MACH)
+#if defined(__MACH__)
.macro FN name
#if defined(HAVE_SLASHMACRO)
\name:
@@ -66,7 +64,7 @@
/* set NX for stack */
.section .note.GNU-stack,"",@progbits
#endif
-#if (IS_MACH)
+#if defined(__MACH__)
.macro SECTION_TEXT
.section __TEXT,__text,regular
.endm