From 1c88873788104e17ce0bda2773ee6d9cea8ceeac Mon Sep 17 00:00:00 2001 From: pengvado Date: Tue, 10 Jul 2012 19:53:29 +0000 Subject: [PATCH] fix linux build regression from r4291, which accidentally reverted a hunk of configure --- desmume/configure.ac | 9 +++++++++ desmume/src/arm_jit.h | 3 +++ 2 files changed, 12 insertions(+) diff --git a/desmume/configure.ac b/desmume/configure.ac index cc48076ba..45f97e126 100644 --- a/desmume/configure.ac +++ b/desmume/configure.ac @@ -264,6 +264,15 @@ if test "x$HAVE_LIBGLADE" = "xyes"; then ]) fi +dnl - jit support +case $host_cpu in + x86|x86_64|i386|i486|i586|i686) + HAVE_JIT=yes + AC_DEFINE(HAVE_JIT) + ;; +esac +AM_CONDITIONAL([HAVE_JIT], [test "x$HAVE_JIT" = "xyes"]) + dnl - wifi support AC_ARG_ENABLE(wifi, [AC_HELP_STRING(--enable-wifi, enable experimental wifi comm support)], diff --git a/desmume/src/arm_jit.h b/desmume/src/arm_jit.h index 4c9dc8c9b..7cbf7fef3 100644 --- a/desmume/src/arm_jit.h +++ b/desmume/src/arm_jit.h @@ -20,6 +20,9 @@ #define ARM_JIT #include "types.h" +#ifndef _MSC_VER +#include +#endif typedef u32 (FASTCALL* ArmOpCompiled)();