mirror of
https://github.com/holub/mame
synced 2025-10-07 17:27:06 +03:00
work around MSVC issue (nw)
This commit is contained in:
parent
0026135232
commit
6fbb04c725
@ -149,7 +149,12 @@ private:
|
|||||||
|
|
||||||
|
|
||||||
// device type definition
|
// device type definition
|
||||||
|
#ifndef _MSC_VER
|
||||||
DECLARE_DEVICE_TYPE(I8089, i8089_device)
|
DECLARE_DEVICE_TYPE(I8089, i8089_device)
|
||||||
|
#else
|
||||||
|
// MSVC seems to want to actually instantiate templates when it gets an extern template declaration, effectively defeating the purpose of extern template declatations altogether
|
||||||
|
// In this case it causes a problem because the required_device template can't be instantiated for the incomplete i8089_channel_device type
|
||||||
|
extern device_type const I8089;
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // MAME_CPU_I8089_I8089_H
|
#endif // MAME_CPU_I8089_I8089_H
|
||||||
|
Loading…
Reference in New Issue
Block a user