Previous 199869 Revisions Next

r36862 Wednesday 1st April, 2015 at 02:51:10 UTC by Vasantha Crabb
Start removing the use of OSD macros outside OSD since core objects are shared between OSD builds
[src/emu]emucore.h luaengine.c machine.c
[src/emu/cpu/m68000]m68kcpu.h
[src/emu/netlist]plists.h
[src/emu/ui]ui.c

trunk/src/emu/cpu/m68000/m68kcpu.h
r245373r245374
3232
3333#include <limits.h>
3434
35#ifdef SDLMAME_SOLARIS
35#ifdef defined(__sun__) && defined(__svr4__)
3636#undef REG_SP
3737#undef REG_PC
3838#undef REG_FP
trunk/src/emu/emucore.h
r245373r245374
2323#include <stdarg.h>
2424
2525// some cleanups for Solaris for things defined in stdlib.h
26#ifdef SDLMAME_SOLARIS
26#ifdef defined(__sun__) && defined(__svr4__)
2727#undef si_status
2828#undef WWORD
2929#endif
r245373r245374
373373//**************************************************************************
374374
375375// population count
376#ifndef SDLMAME_NETBSD
376#ifndef defined(__NetBSD__)
377377inline int popcount(UINT32 val)
378378{
379379   int count;
trunk/src/emu/luaengine.c
r245373r245374
130130   cb = -1;
131131}
132132
133#if defined(SDLMAME_SOLARIS) || defined(__ANDROID__)
133#if (defined(__sun__) && defined(__svr4__)) || defined(__ANDROID__)
134134#undef _L
135135#endif
136136
trunk/src/emu/machine.c
r245373r245374
385385      {
386386         g_profiler.start(PROFILER_EXTRA);
387387
388         #ifdef SDLMAME_EMSCRIPTEN
388         #if defined(EMSCRIPTEN)
389389         //break out to our async javascript loop and halt
390390         js_set_main_loop(this);
391391         #endif
r245373r245374
13441344//  JAVASCRIPT PORT-SPECIFIC
13451345//**************************************************************************
13461346
1347#ifdef SDLMAME_EMSCRIPTEN
1347#if defined(EMSCRIPTEN)
13481348
13491349static running_machine * jsmess_machine;
13501350
r245373r245374
13771377   return &(jsmess_machine->sound());
13781378}
13791379
1380#endif /* SDLMAME_EMSCRIPTEN */
1380#endif /* defined(EMSCRIPTEN) */
trunk/src/emu/netlist/plists.h
r245373r245374
199199// pnamedlist_t: a simple list
200200// ----------------------------------------------------------------------------------------
201201
202#if defined(SDLMAME_SOLARIS) || defined(__ANDROID__)
202#if defined(defined(__sun__) && defined(__svr4__)) || defined(__ANDROID__)
203203#undef _C
204204#endif
205205
trunk/src/emu/ui/ui.c
r245373r245374
319319   if (!first_time || (str > 0 && str < 60*5) || &machine().system() == &GAME_NAME(___empty) || (machine().debug_flags & DEBUG_FLAG_ENABLED) != 0)
320320      show_gameinfo = show_warnings = show_disclaimer = show_mandatory_fileman = FALSE;
321321
322   #ifdef SDLMAME_EMSCRIPTEN
322   #if defined(EMSCRIPTEN)
323323   // also disable for the JavaScript port since the startup screens do not run asynchronously
324324   show_gameinfo = show_warnings = show_disclaimer = FALSE;
325325   #endif


Previous 199869 Revisions Next


© 1997-2024 The MAME Team