mirror of
https://github.com/holub/mame
synced 2025-06-26 14:24:12 +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>
|
#include <limits.h>
|
||||||
|
|
||||||
|
#ifdef SDLMAME_SOLARIS
|
||||||
|
#undef REG_SP
|
||||||
|
#undef REG_PC
|
||||||
|
#undef REG_FP
|
||||||
|
#endif
|
||||||
|
|
||||||
/* ======================================================================== */
|
/* ======================================================================== */
|
||||||
/* ==================== ARCHITECTURE-DEPENDANT DEFINES ==================== */
|
/* ==================== ARCHITECTURE-DEPENDANT DEFINES ==================== */
|
||||||
|
@ -130,6 +130,10 @@ lua_engine::hook::hook()
|
|||||||
cb = -1;
|
cb = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef SDLMAME_SOLARIS
|
||||||
|
#undef _L
|
||||||
|
#endif
|
||||||
|
|
||||||
void lua_engine::hook::set(lua_State *_L, int idx)
|
void lua_engine::hook::set(lua_State *_L, int idx)
|
||||||
{
|
{
|
||||||
if (L)
|
if (L)
|
||||||
|
@ -199,6 +199,10 @@ private:
|
|||||||
// pnamedlist_t: a simple list
|
// pnamedlist_t: a simple list
|
||||||
// ----------------------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#ifdef SDLMAME_SOLARIS
|
||||||
|
#undef _C
|
||||||
|
#endif
|
||||||
|
|
||||||
template <class _C>
|
template <class _C>
|
||||||
class pnamedlist_t : public plinearlist_t<_C>
|
class pnamedlist_t : public plinearlist_t<_C>
|
||||||
{
|
{
|
||||||
|
@ -33,7 +33,6 @@
|
|||||||
//#undef _XPG6
|
//#undef _XPG6
|
||||||
//#undef _XPG5
|
//#undef _XPG5
|
||||||
//#undef _XPG4_2
|
//#undef _XPG4_2
|
||||||
|
|
||||||
//#define _XOPEN_SOURCE
|
//#define _XOPEN_SOURCE
|
||||||
//#define _XOPEN_VERSION 4
|
//#define _XOPEN_VERSION 4
|
||||||
#elif defined(__irix__) || defined(__sgi)
|
#elif defined(__irix__) || defined(__sgi)
|
||||||
|
Loading…
Reference in New Issue
Block a user