summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/i386/i386.h
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2017-04-12 15:21:21 -0400
committer AJR <ajrhacker@users.noreply.github.com>2017-04-12 15:21:21 -0400
commit2d8b67697fc23ca5ba600e14aaac18333e86ae06 (patch)
treeb475b005628f5f51ec57479eef9784b1d0be9414 /src/devices/cpu/i386/i386.h
parent0f510928f83ba4a2a0dbc285685df36376ee9dac (diff)
m68000, i386: Workaround for multiple inclusion until SoftFloat is updated to version 3 (nw)
Diffstat (limited to 'src/devices/cpu/i386/i386.h')
-rw-r--r--src/devices/cpu/i386/i386.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/devices/cpu/i386/i386.h b/src/devices/cpu/i386/i386.h
index 85817a8afb4..6f2397a6f38 100644
--- a/src/devices/cpu/i386/i386.h
+++ b/src/devices/cpu/i386/i386.h
@@ -5,8 +5,13 @@
#ifndef __I386INTF_H__
#define __I386INTF_H__
+// SoftFloat 2 lacks an include guard
+#ifndef softfloat_h
+#define softfloat_h 1
#include "softfloat/milieu.h"
#include "softfloat/softfloat.h"
+#endif
+
#include "debug/debugcpu.h"
#include "divtlb.h"