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/machine/pci.cpp | |
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/machine/pci.cpp')
-rw-r--r-- | src/devices/machine/pci.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/machine/pci.cpp b/src/devices/machine/pci.cpp index 490cd43f4aa..caaef7bcdb2 100644 --- a/src/devices/machine/pci.cpp +++ b/src/devices/machine/pci.cpp @@ -1,5 +1,6 @@ // license:BSD-3-Clause // copyright-holders:Olivier Galibert +#include "emu.h" #include "pci.h" const device_type PCI_ROOT = &device_creator<pci_root_device>; |