diff options
author | 2017-02-11 18:23:11 +0100 | |
---|---|---|
committer | 2017-02-11 18:31:20 +0100 | |
commit | a2557f1b02478c5aaa1fdfa00204ac2e219319a1 (patch) | |
tree | 6f1693d59aa53be8c76ffe3bcf7fbc72f8546453 /src/devices/bus/imi7000 | |
parent | c49b631153be9efc3a7e7b6172c17f5418843c0b (diff) |
Remove emu.h from headers (nw)
Per Vas' request. If the compile fails for you (i'm thinking osx and
windows native debuggers here in particular), add '#include "emu.h"'
as first include of the cpp files that fail.
Due to our use of precompilation and forced inclusion, emu.h must be
included as the very first non-comment thing we do if we want to be
sure msvc compiles are identical to gcc/clang ones. Doing it directly
instead of through an include increases the correctness probability by
a magnitude.
Diffstat (limited to 'src/devices/bus/imi7000')
-rw-r--r-- | src/devices/bus/imi7000/imi5000h.cpp | 1 | ||||
-rw-r--r-- | src/devices/bus/imi7000/imi5000h.h | 1 | ||||
-rw-r--r-- | src/devices/bus/imi7000/imi7000.cpp | 1 | ||||
-rw-r--r-- | src/devices/bus/imi7000/imi7000.h | 1 |
4 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/imi7000/imi5000h.cpp b/src/devices/bus/imi7000/imi5000h.cpp index 73596f8505c..8e98b8414f5 100644 --- a/src/devices/bus/imi7000/imi5000h.cpp +++ b/src/devices/bus/imi7000/imi5000h.cpp @@ -8,6 +8,7 @@ **********************************************************************/ +#include "emu.h" #include "imi5000h.h" diff --git a/src/devices/bus/imi7000/imi5000h.h b/src/devices/bus/imi7000/imi5000h.h index c8ac2492dc0..153ad678d37 100644 --- a/src/devices/bus/imi7000/imi5000h.h +++ b/src/devices/bus/imi7000/imi5000h.h @@ -13,7 +13,6 @@ #ifndef __IMI5000H__ #define __IMI5000H__ -#include "emu.h" #include "imi7000.h" #include "cpu/z80/z80.h" #include "cpu/z80/z80daisy.h" diff --git a/src/devices/bus/imi7000/imi7000.cpp b/src/devices/bus/imi7000/imi7000.cpp index fa73e98b10b..e28a3df72d7 100644 --- a/src/devices/bus/imi7000/imi7000.cpp +++ b/src/devices/bus/imi7000/imi7000.cpp @@ -6,6 +6,7 @@ **********************************************************************/ +#include "emu.h" #include "imi7000.h" diff --git a/src/devices/bus/imi7000/imi7000.h b/src/devices/bus/imi7000/imi7000.h index 314b86c4302..765f2ef5a3f 100644 --- a/src/devices/bus/imi7000/imi7000.h +++ b/src/devices/bus/imi7000/imi7000.h @@ -31,7 +31,6 @@ #ifndef __IMI7000_BUS__ #define __IMI7000_BUS__ -#include "emu.h" |