mirror of
https://github.com/holub/mame
synced 2025-04-23 17:00:53 +03:00
Minor Solaris fixes. (nw)
This commit is contained in:
parent
dd7b5a953e
commit
c3aa0eedbf
@ -32,6 +32,11 @@ class m68000_base_device;
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
#ifdef SDLMAME_SOLARIS
|
||||
#undef REG_SP
|
||||
#undef REG_PC
|
||||
#undef REG_FP
|
||||
#endif
|
||||
|
||||
/* ======================================================================== */
|
||||
/* ==================== ARCHITECTURE-DEPENDANT DEFINES ==================== */
|
||||
|
@ -130,6 +130,10 @@ lua_engine::hook::hook()
|
||||
cb = -1;
|
||||
}
|
||||
|
||||
#ifdef SDLMAME_SOLARIS
|
||||
#undef _L
|
||||
#endif
|
||||
|
||||
void lua_engine::hook::set(lua_State *_L, int idx)
|
||||
{
|
||||
if (L)
|
||||
|
@ -199,6 +199,10 @@ private:
|
||||
// pnamedlist_t: a simple list
|
||||
// ----------------------------------------------------------------------------------------
|
||||
|
||||
#ifdef SDLMAME_SOLARIS
|
||||
#undef _C
|
||||
#endif
|
||||
|
||||
template <class _C>
|
||||
class pnamedlist_t : public plinearlist_t<_C>
|
||||
{
|
||||
|
@ -33,7 +33,6 @@
|
||||
//#undef _XPG6
|
||||
//#undef _XPG5
|
||||
//#undef _XPG4_2
|
||||
|
||||
//#define _XOPEN_SOURCE
|
||||
//#define _XOPEN_VERSION 4
|
||||
#elif defined(__irix__) || defined(__sgi)
|
||||
|
Loading…
Reference in New Issue
Block a user