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/frontend/mame/ui/slider.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/frontend/mame/ui/slider.h') diff --git a/src/frontend/mame/ui/slider.h b/src/frontend/mame/ui/slider.h index 8bca79c752f..75f2bd3336e 100644 --- a/src/frontend/mame/ui/slider.h +++ b/src/frontend/mame/ui/slider.h @@ -16,7 +16,6 @@ #include -#include "emu.h" #include "sliderchangednotifier.h" #define SLIDER_NOCHANGE 0x12345678 -- cgit v1.2.3