summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/wangpc/mcc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/wangpc/mcc.h')
-rw-r--r--src/devices/bus/wangpc/mcc.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/devices/bus/wangpc/mcc.h b/src/devices/bus/wangpc/mcc.h
index e8675402a89..be716cb264f 100644
--- a/src/devices/bus/wangpc/mcc.h
+++ b/src/devices/bus/wangpc/mcc.h
@@ -6,10 +6,10 @@
**********************************************************************/
-#pragma once
+#ifndef MAME_BUS_WANGPC_MCC_H
+#define MAME_BUS_WANGPC_MCC_H
-#ifndef __WANGPC_MCC__
-#define __WANGPC_MCC__
+#pragma once
#include "wangpc.h"
#include "machine/z80dart.h"
@@ -53,7 +53,6 @@ private:
// device type definition
-extern const device_type WANGPC_MCC;
-
+DECLARE_DEVICE_TYPE(WANGPC_MCC, wangpc_mcc_device)
-#endif
+#endif // MAME_BUS_WANGPC_MCC_H