Skip to content

Commit f7b7f3e

Browse files
committed
allow redefinition of macro when testing.
1 parent aa5be0d commit f7b7f3e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/test_asm.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/* testing of inline asm functionality */
22

3+
#undef STACKMAN_INLINE_ASM
34
#define STACKMAN_INLINE_ASM 1
45
#include "stackman.h"
56
#include "stackman_impl.h"

tests/test_static.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
* rather than linking in an object file. Only possible if the
33
* implementation is inline asm. Real assembler must be linked
44
*/
5+
#undef STACKMAN_INLINE_ASM
56
#define STACKMAN_INLINE_ASM 1
67
#define STACKMAN_LINKAGE_STATIC
78
#include "stackman.h"

0 commit comments

Comments
 (0)