mirror of
https://github.com/holub/mame
synced 2025-06-03 11:26:56 +03:00
Removed all uses of setjmp.h in MAME. The only place where
it is still referenced is cpu/powerpc/ppc.c. I couldn't find any case in which this file would be compiled using the current build system. Nonetheless documented use using PPC_H_INCLUDED_FROM_PPC_C define. [Couriersud]
This commit is contained in:
parent
9aaa9fbebc
commit
ebc96303ee
@ -5,6 +5,9 @@
|
||||
#include <setjmp.h>
|
||||
#include "emu.h"
|
||||
#include "debugger.h"
|
||||
|
||||
/* avoid including setjmp.h and defining jump buffer if not included from here */
|
||||
#define PPC_H_INCLUDED_FROM_PPC_C
|
||||
#include "ppc.h"
|
||||
|
||||
// PLL Configuration based on the table in MPC603EUM page 7-31
|
||||
|
@ -14,7 +14,9 @@
|
||||
#ifndef __PPC_H__
|
||||
#define __PPC_H__
|
||||
|
||||
#ifdef PPC_H_INCLUDED_FROM_PPC_C
|
||||
#include <setjmp.h>
|
||||
#endif
|
||||
#include "cpu/vtlb.h"
|
||||
#include "cpu/drcfe.h"
|
||||
#include "cpu/drcuml.h"
|
||||
@ -512,7 +514,9 @@ protected:
|
||||
write32_delegate m_ext_dma_write_cb[4];
|
||||
|
||||
/* PowerPC function pointers for memory accesses/exceptions */
|
||||
#ifdef PPC_H_INCLUDED_FROM_PPC_C
|
||||
jmp_buf m_exception_jmpbuf;
|
||||
#endif
|
||||
UINT8 (*m_ppcread8)(address_space &space, offs_t address);
|
||||
UINT16 (*m_ppcread16)(address_space &space, offs_t address);
|
||||
UINT32 (*m_ppcread32)(address_space &space, offs_t address);
|
||||
|
@ -37,7 +37,6 @@
|
||||
#include "emu.h"
|
||||
#include "drcuml.h"
|
||||
#include "drcumlsh.h"
|
||||
#include <setjmp.h>
|
||||
|
||||
using namespace uml;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user