From a2557f1b02478c5aaa1fdfa00204ac2e219319a1 Mon Sep 17 00:00:00 2001 From: Olivier Galibert Date: Sat, 11 Feb 2017 18:23:11 +0100 Subject: 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. --- src/devices/machine/lpc-rtc.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/devices/machine/lpc-rtc.cpp') diff --git a/src/devices/machine/lpc-rtc.cpp b/src/devices/machine/lpc-rtc.cpp index 985be52dfc8..277d4b1f9cd 100644 --- a/src/devices/machine/lpc-rtc.cpp +++ b/src/devices/machine/lpc-rtc.cpp @@ -1,5 +1,6 @@ // license:BSD-3-Clause // copyright-holders:Olivier Galibert +#include "emu.h" #include "lpc-rtc.h" const device_type LPC_RTC = &device_creator; -- cgit v1.2.3-70-g09d2