diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-01-25 19:06:56 +0100 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-01-25 19:06:56 +0100 |
commit | 53a6a7faa01aa0c6a65ee875c7d59c2405278890 (patch) | |
tree | 1baaaba2e646834c95281d3a008484bf51edd7d3 /plugins/ffap | |
parent | 1dd442f8d36732f583595c3f2cc1543813aab9ed (diff) |
ape plugin compile fix on unknown architectures
Diffstat (limited to 'plugins/ffap')
-rw-r--r-- | plugins/ffap/ffap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/ffap/ffap.c b/plugins/ffap/ffap.c index 60985729..b8457099 100644 --- a/plugins/ffap/ffap.c +++ b/plugins/ffap/ffap.c @@ -1235,7 +1235,7 @@ typedef int64_t x86_reg; # define REGSP esp typedef int32_t x86_reg; #else -#warning unknown arch +#warning unknown arch, SIMD optimizations will be disabled typedef int x86_reg; #endif @@ -1822,7 +1822,7 @@ static DB_decoder_t plugin = { .filetypes = filetypes }; -#ifdef HAVE_SSE2 +#if HAVE_SSE2 && !ARCH_UNKNOWN #define FF_MM_MMX 0x0001 ///< standard MMX #define FF_MM_3DNOW 0x0004 ///< AMD 3DNOW @@ -1928,7 +1928,7 @@ int mm_support(void) DB_plugin_t * ffap_load (DB_functions_t *api) { // detect sse2 -#ifdef HAVE_SSE2 +#if HAVE_SSE2 && !ARCH_UNKNOWN trace ("ffap: was compiled with sse2 support\n"); int mm_flags = mm_support (); if (mm_flags & FF_MM_SSE2) { |