24e4c0d311
use the "ARM" CPU yield code (actually portable C) on everything where there's not inline ASM. while here, comment patches, convert line endings to unix.
25 lines
732 B
C++
25 lines
732 B
C++
$NetBSD: patch-src_emu_state.h,v 1.3 2021/06/19 07:23:31 nia Exp $
|
|
|
|
Consistently build as C++11 source, but ignore narrow issues.
|
|
Don't depend on ordering of pointers relative to zero. Avoid UDL.
|
|
|
|
--- src/emu/state.h.orig 2020-05-25 02:01:22.000000000 +0000
|
|
+++ src/emu/state.h
|
|
@@ -18,17 +18,8 @@
|
|
#ifndef __STATE_H__
|
|
#define __STATE_H__
|
|
|
|
-#if (defined(__MACH__) && !defined(IOS)) || defined(ANDROID)
|
|
#include <type_traits>
|
|
#define DEF_NAMESPACE std
|
|
-#elif defined(IOS)
|
|
-#include <type_traits>
|
|
-#define DEF_NAMESPACE std::tr1
|
|
-#define DEF_NAMESPACE std
|
|
-#elif defined(__GNUC__)
|
|
-#include <tr1/type_traits>
|
|
-#define DEF_NAMESPACE std::tr1
|
|
-#endif
|
|
|
|
|
|
/***************************************************************************
|