summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/coleco.h
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2018-07-22 20:41:57 +1000
committer Vas Crabb <vas@vastheman.com>2018-07-22 20:41:57 +1000
commitc0ab1c5aa4c172aa9e3e0deec5c2cc19d4f278d1 (patch)
tree359e7b0d6560d05a1872c2e18773a6e2e5038b7f /src/mame/machine/coleco.h
parent6d39a913e54c73640e4b5e7493b223c87a14c64a (diff)
(nw) srcclean and some cleanup:
* Make more #include guards follow standard format - using MAME_ as the prefix makes it easy to see which ones come from our code in a preprocessor dump, and having both src/devices/machine/foo.h and src/mame/machine/foo.h causes issues anyway * Get #include "emu.h" out of headers - it should only be the first thing in a complilation unit or we get differences in behaviour with PCH on/off * Add out-of-line destructors to some devices - it forces the compiler to instantiate the vtable in a certain location and avoids some non-deterministic compiler behaviours
Diffstat (limited to 'src/mame/machine/coleco.h')
-rw-r--r--src/mame/machine/coleco.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/machine/coleco.h b/src/mame/machine/coleco.h
index b6022b164c9..41b71564383 100644
--- a/src/mame/machine/coleco.h
+++ b/src/mame/machine/coleco.h
@@ -1,10 +1,10 @@
// license:BSD-3-Clause
// copyright-holders:Mike Balfour, Ben Bruscella, Sean Young
-#pragma once
+#ifndef MAME_MACHINE_COLECO_H
+#define MAME_MACHINE_COLECO_H
-#ifndef __COLECO_CONTROLLERS__
-#define __COLECO_CONTROLLERS__
+#pragma once
INPUT_PORTS_EXTERN( coleco );
-#endif
+#endif // MAME_MACHINE_COLECO_H