| Previous | 199869 Revisions | Next |
| r34608 Sunday 25th January, 2015 at 21:58:54 UTC by Couriersud |
|---|
| Minor Solaris fixes. (nw) |
| [src/emu] | luaengine.c |
| [src/emu/cpu/m68000] | m68kcpu.h |
| [src/emu/netlist] | plists.h |
| [src/osd/sdl] | sdlprefix.h |
| r243119 | r243120 | |
|---|---|---|
| 32 | 32 | |
| 33 | 33 | #include <limits.h> |
| 34 | 34 | |
| 35 | #ifdef SDLMAME_SOLARIS | |
| 36 | #undef REG_SP | |
| 37 | #undef REG_PC | |
| 38 | #undef REG_FP | |
| 39 | #endif | |
| 35 | 40 | |
| 36 | 41 | /* ======================================================================== */ |
| 37 | 42 | /* ==================== ARCHITECTURE-DEPENDANT DEFINES ==================== */ |
| r243119 | r243120 | |
|---|---|---|
| 130 | 130 | cb = -1; |
| 131 | 131 | } |
| 132 | 132 | |
| 133 | #ifdef SDLMAME_SOLARIS | |
| 134 | #undef _L | |
| 135 | #endif | |
| 136 | ||
| 133 | 137 | void lua_engine::hook::set(lua_State *_L, int idx) |
| 134 | 138 | { |
| 135 | 139 | if (L) |
| r243119 | r243120 | |
|---|---|---|
| 199 | 199 | // pnamedlist_t: a simple list |
| 200 | 200 | // ---------------------------------------------------------------------------------------- |
| 201 | 201 | |
| 202 | #ifdef SDLMAME_SOLARIS | |
| 203 | #undef _C | |
| 204 | #endif | |
| 205 | ||
| 202 | 206 | template <class _C> |
| 203 | 207 | class pnamedlist_t : public plinearlist_t<_C> |
| 204 | 208 | { |
| r243119 | r243120 | |
|---|---|---|
| 33 | 33 | //#undef _XPG6 |
| 34 | 34 | //#undef _XPG5 |
| 35 | 35 | //#undef _XPG4_2 |
| 36 | ||
| 37 | 36 | //#define _XOPEN_SOURCE |
| 38 | 37 | //#define _XOPEN_VERSION 4 |
| 39 | 38 | #elif defined(__irix__) || defined(__sgi) |
| https://github.com/mamedev/mame/commit/c3aa0eedbf0c817895d127d4cef20e1909298e9d |
| Previous | 199869 Revisions | Next |