Skip to content

Commit 38bdd32

Browse files
committed
CoreFoundation: correct typo in ASM Macros
Correct the else if macro usage, which was resulting in redefinition of macros incorrectly.
1 parent fff2489 commit 38bdd32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CoreFoundation/Base.subproj/CFAsmMacros.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
/* Platform tests are documented at http://git.savannah.gnu.org/gitweb/?p=libffcall.git;a=blob;f=porting-tools/execstack/README */
2121
#if (defined(__GNUC__) || defined (__llvm__) || defined (__clang__)) && defined(__ELF__) && (defined (__linux__) || defined (__linux) || defined (__gnu_linux__) || defined(__FreeBSD__) || defined (__FreeBSD_kernel__))
2222
#define NO_EXEC_STACK_DIRECTIVE .section .note.GNU-stack,"",%progbits
23-
#elsif defined(__SUNPRO_C) && defined(__linux__)
23+
#elif defined(__SUNPRO_C) && defined(__linux__)
2424
#define NO_EXEC_STACK_DIRECTIVE .section ".note.GNU-stack"
2525
#else
2626
#define NO_EXEC_STACK_DIRECTIVE

0 commit comments

Comments
 (0)