Browse Source

[Minor] Fix macro usage

tags/1.4.0
Vsevolod Stakhov 7 years ago
parent
commit
546f2ebf17
1 changed files with 2 additions and 4 deletions
  1. 2
    4
      src/libcryptobox/macro.S

+ 2
- 4
src/libcryptobox/macro.S View File

@@ -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

Loading…
Cancel
Save