File tree Expand file tree Collapse file tree 3 files changed +8
-15
lines changed Expand file tree Collapse file tree 3 files changed +8
-15
lines changed Original file line number Diff line number Diff line change 2323#endif
2424
2525#define UNUSED (...) (void )(__VA_ARGS__)
26+
27+ #ifndef _CPPUNWIND// def NDEBUG
28+ #define XR_NOEXCEPT throw ()
29+ #define XR_NOEXCEPT_OP (x )
30+ #else
31+ #define XR_NOEXCEPT noexcept
32+ #define XR_NOEXCEPT_OP (x ) noexcept (x)
33+ #endif
Original file line number Diff line number Diff line change 22#ifndef _INC_CPUID
33#define _INC_CPUID
44
5- #ifndef xrCoreH
6- // If xrCore.h is not included then compilation fails
7- // This fixes it.
8- // XXX: Find a better solution
9- #ifdef NDEBUG
10- #define XR_NOEXCEPT throw()
11- #else
12- #define XR_NOEXCEPT noexcept
13- #endif
14- #endif
15-
165enum class CpuFeature : u32
176{
187 Mmx = 0x0001 ,
Original file line number Diff line number Diff line change 3535#ifdef NDEBUG
3636#define XRAY_EXCEPTIONS 0
3737#define LUABIND_NO_EXCEPTIONS
38- #define XR_NOEXCEPT throw ()
39- #define XR_NOEXCEPT_OP (x )
4038#else
4139#define XRAY_EXCEPTIONS 1
42- #define XR_NOEXCEPT noexcept
43- #define XR_NOEXCEPT_OP (x ) noexcept (x)
4440#endif
4541
4642#if !defined(DEBUG) && (defined(_DEBUG) || defined(MIXED))
You can’t perform that action at this time.
0 commit comments