mirror of
https://github.com/holub/mame
synced 2025-07-04 09:28:51 +03:00
netlist: fix error on compilers having issues with std::pair. (nw)
This commit is contained in:
parent
fcf5e03406
commit
17ae349ce6
@ -283,12 +283,8 @@ namespace devices
|
|||||||
strm.writeline("{\n");
|
strm.writeline("{\n");
|
||||||
csc_private(strm);
|
csc_private(strm);
|
||||||
strm.writeline("}\n");
|
strm.writeline("}\n");
|
||||||
// mingw 5.3 workaround
|
// some compilers (_WIN32, _WIN64, mac osx) need an explicit cast
|
||||||
#if !defined(_WIN32) && !defined(_WIN64)
|
|
||||||
return std::pair<pstring, pstring>(name, t.str());
|
|
||||||
#else
|
|
||||||
return std::pair<pstring, pstring>(name, pstring(t.str()));
|
return std::pair<pstring, pstring>(name, pstring(t.str()));
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename FT, int SIZE>
|
template <typename FT, int SIZE>
|
||||||
|
Loading…
Reference in New Issue
Block a user