diff options
author | twinaphex | 2016-08-05 20:17:19 +0200 |
---|---|---|
committer | twinaphex | 2016-08-05 20:17:19 +0200 |
commit | feb8ccceb61a5f815046b7ae7fe5b2b84a566723 (patch) | |
tree | a821e03f1b8b2e8553d2e9a34189ccafe56441c5 /src | |
parent | 38e5e34d5dc65432a11a4bbb4604885e7be9eb99 (diff) | |
download | snes9x2002-feb8ccceb61a5f815046b7ae7fe5b2b84a566723.tar.gz snes9x2002-feb8ccceb61a5f815046b7ae7fe5b2b84a566723.tar.bz2 snes9x2002-feb8ccceb61a5f815046b7ae7fe5b2b84a566723.zip |
Don't use memset ASM functions for iOS
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__ ( \
|