diff options
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 |
commit | c0ab1c5aa4c172aa9e3e0deec5c2cc19d4f278d1 (patch) | |
tree | 359e7b0d6560d05a1872c2e18773a6e2e5038b7f /src/mame/machine/spec_snqk.h | |
parent | 6d39a913e54c73640e4b5e7493b223c87a14c64a (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/spec_snqk.h')
-rw-r--r-- | src/mame/machine/spec_snqk.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mame/machine/spec_snqk.h b/src/mame/machine/spec_snqk.h index ebf829e4f91..be6bb6e080d 100644 --- a/src/mame/machine/spec_snqk.h +++ b/src/mame/machine/spec_snqk.h @@ -6,8 +6,10 @@ * ****************************************************************************/ -#ifndef __SPEC_SNQK_H__ -#define __SPEC_SNQK_H__ +#ifndef MAME_MACHINE_SPEC_SNQK_H +#define MAME_MACHINE_SPEC_SNQK_H + +#pragma once #include "imagedev/snapquik.h" @@ -162,4 +164,4 @@ enum SPECTRUM_Z80_SNAPSHOT_TYPE { #define RAW_HDR 9 #define RAW_SIZE (RAW_HDR + 3*SPECTRUM_BANK) -#endif /* __SPEC_SNQK_H__ */ +#endif // MAME_MACHINE_SPEC_SNQK_H |