aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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