summaryrefslogtreecommitdiffstats
path: root/src/frontend/mame/language.h
diff options
context:
space:
mode:
authorGravatarGravatar Vas Crabb <vas@vastheman.com>2018-07-22 20:41:57 +1000
committerGravatarGravatar Vas Crabb <vas@vastheman.com>2018-07-22 20:41:57 +1000
commitc0ab1c5aa4c172aa9e3e0deec5c2cc19d4f278d1 (patch) (github)
tree359e7b0d6560d05a1872c2e18773a6e2e5038b7f /src/frontend/mame/language.h
parent6d39a913e54c73640e4b5e7493b223c87a14c64a (diff)
downloadmame-c0ab1c5aa4c172aa9e3e0deec5c2cc19d4f278d1.tar.bz2
mame-c0ab1c5aa4c172aa9e3e0deec5c2cc19d4f278d1.zip
(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/frontend/mame/language.h')
-rw-r--r--src/frontend/mame/language.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/frontend/mame/language.h b/src/frontend/mame/language.h
index 2a9d934576b..73adbb88269 100644
--- a/src/frontend/mame/language.h
+++ b/src/frontend/mame/language.h
@@ -7,15 +7,15 @@
Multi-language support.
***************************************************************************/
+#ifndef MAME_FRONTEND_MAME_LANGUAGE_H
+#define MAME_FRONTEND_MAME_LANGUAGE_H
+
#pragma once
#ifndef __EMU_H__
#error Dont include this file directly; include emu.h instead.
#endif
-#ifndef __LANGUAGE_H__
-#define __LANGUAGE_H__
-
//**************************************************************************
// LOCALIZATION SUPPORT
//**************************************************************************
@@ -28,4 +28,4 @@
void load_translation(emu_options &option);
const char *lang_translate(const char *word);
-#endif /*__LANGUAGE_H__*/
+#endif // MAME_FRONTEND_MAME_LANGUAGE_H