diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/asmmemfuncs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/asmmemfuncs.h b/src/asmmemfuncs.h index 538ce76..dd98e79 100644 --- a/src/asmmemfuncs.h +++ b/src/asmmemfuncs.h @@ -1,7 +1,7 @@ #ifndef _ASMMEMFUNCS_H_
#define _ASMMEMFUNCS_H_
-#ifdef ARM_ASM
+#if defined(ARM_ASM) && !defined(__MACH__)
#define memset32(_dst, _c, _count) \
({ uint32_t *dst = (_dst); register uint32_t c __asm__ ("r7") = (_c); int count = (_count); register uint32_t dummy0 __asm__ ("r4"), dummy1 __asm__ ("r5"), dummy2 __asm__ ("r6"); \
__asm__ __volatile__ ( \
|