diff options
-rw-r--r-- | source/apu_blargg.c | 7 | ||||
-rw-r--r-- | source/blargg_endian.h | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/source/apu_blargg.c b/source/apu_blargg.c index 6a562ef..c241ec4 100644 --- a/source/apu_blargg.c +++ b/source/apu_blargg.c @@ -181,6 +181,10 @@ #include <stdlib.h> #include <limits.h> +#ifndef INLINE +#define INLINE inline +#endif + #include "blargg_endian.h" #include "apu_blargg.h" @@ -188,9 +192,6 @@ //#include "snapshot.h" #include "display.h" -#ifndef INLINE -#define INLINE inline -#endif /*********************************************************************************** SPC DSP diff --git a/source/blargg_endian.h b/source/blargg_endian.h index 28889db..8322fb1 100644 --- a/source/blargg_endian.h +++ b/source/blargg_endian.h @@ -5,7 +5,7 @@ #define BLARGG_ENDIAN /* Uncomment to enable platform-specific (and possibly non-portable) optimizations */ -#ifndef EMSCRIPTEN +#if !defined(EMSCRIPTEN) && !defined(__mips__) #define BLARGG_NONPORTABLE 1 #endif |