aboutsummaryrefslogtreecommitdiffstats
path: root/tools/ioemu/target-i386-dm/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ioemu/target-i386-dm/cpu.h')
-rw-r--r--tools/ioemu/target-i386-dm/cpu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/ioemu/target-i386-dm/cpu.h b/tools/ioemu/target-i386-dm/cpu.h
index 017b8c021b..6071a8529e 100644
--- a/tools/ioemu/target-i386-dm/cpu.h
+++ b/tools/ioemu/target-i386-dm/cpu.h
@@ -37,17 +37,21 @@
#include "cpu-defs.h"
+#ifdef CONFIG_SOFTFLOAT
#include "softfloat.h"
+#endif
#if defined(__i386__) && !defined(CONFIG_SOFTMMU)
#define USE_CODE_COPY
#endif
+#ifdef CONFIG_SOFTFLOAT
#ifdef USE_X86LDOUBLE
typedef floatx80 CPU86_LDouble;
#else
typedef float64 CPU86_LDouble;
#endif
+#endif
/* Empty for now */
typedef struct CPUX86State {