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/newbrain | |
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/newbrain')
-rw-r--r-- | src/devices/bus/newbrain/eim.cpp | 1 | ||||
-rw-r--r-- | src/devices/bus/newbrain/eim.h | 1 | ||||
-rw-r--r-- | src/devices/bus/newbrain/exp.cpp | 1 | ||||
-rw-r--r-- | src/devices/bus/newbrain/exp.h | 1 | ||||
-rw-r--r-- | src/devices/bus/newbrain/fdc.cpp | 1 | ||||
-rw-r--r-- | src/devices/bus/newbrain/fdc.h | 1 |
6 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/bus/newbrain/eim.cpp b/src/devices/bus/newbrain/eim.cpp index 7be6e38d6cf..eae75ed16e3 100644 --- a/src/devices/bus/newbrain/eim.cpp +++ b/src/devices/bus/newbrain/eim.cpp @@ -14,6 +14,7 @@ */ +#include "emu.h" #include "eim.h" diff --git a/src/devices/bus/newbrain/eim.h b/src/devices/bus/newbrain/eim.h index 824de3daf69..58024f60cf4 100644 --- a/src/devices/bus/newbrain/eim.h +++ b/src/devices/bus/newbrain/eim.h @@ -11,7 +11,6 @@ #ifndef __NEWBRAIN_EIM__ #define __NEWBRAIN_EIM__ -#include "emu.h" #include "exp.h" #include "bus/rs232/rs232.h" #include "machine/6850acia.h" diff --git a/src/devices/bus/newbrain/exp.cpp b/src/devices/bus/newbrain/exp.cpp index 85684823493..e83dd50266f 100644 --- a/src/devices/bus/newbrain/exp.cpp +++ b/src/devices/bus/newbrain/exp.cpp @@ -6,6 +6,7 @@ **********************************************************************/ +#include "emu.h" #include "exp.h" diff --git a/src/devices/bus/newbrain/exp.h b/src/devices/bus/newbrain/exp.h index a81194945df..0c07190bdf0 100644 --- a/src/devices/bus/newbrain/exp.h +++ b/src/devices/bus/newbrain/exp.h @@ -39,7 +39,6 @@ #ifndef __NEWBRAIN_EXPANSION_SLOT__ #define __NEWBRAIN_EXPANSION_SLOT__ -#include "emu.h" diff --git a/src/devices/bus/newbrain/fdc.cpp b/src/devices/bus/newbrain/fdc.cpp index f8965589fb5..aa422f999d5 100644 --- a/src/devices/bus/newbrain/fdc.cpp +++ b/src/devices/bus/newbrain/fdc.cpp @@ -15,6 +15,7 @@ */ +#include "emu.h" #include "fdc.h" diff --git a/src/devices/bus/newbrain/fdc.h b/src/devices/bus/newbrain/fdc.h index 2d2d2bc8576..b34e88441ee 100644 --- a/src/devices/bus/newbrain/fdc.h +++ b/src/devices/bus/newbrain/fdc.h @@ -11,7 +11,6 @@ #ifndef __NEWBRAIN_FDC__ #define __NEWBRAIN_FDC__ -#include "emu.h" #include "exp.h" #include "cpu/z80/z80.h" #include "machine/upd765.h" |