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 23
23
#endif
24
24
25
25
#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 2
2
#ifndef _INC_CPUID
3
3
#define _INC_CPUID
4
4
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
-
16
5
enum class CpuFeature : u32
17
6
{
18
7
Mmx = 0x0001 ,
Original file line number Diff line number Diff line change 35
35
#ifdef NDEBUG
36
36
#define XRAY_EXCEPTIONS 0
37
37
#define LUABIND_NO_EXCEPTIONS
38
- #define XR_NOEXCEPT throw ()
39
- #define XR_NOEXCEPT_OP (x )
40
38
#else
41
39
#define XRAY_EXCEPTIONS 1
42
- #define XR_NOEXCEPT noexcept
43
- #define XR_NOEXCEPT_OP (x ) noexcept (x)
44
40
#endif
45
41
46
42
#if !defined(DEBUG) && (defined(_DEBUG) || defined(MIXED))
You can’t perform that action at this time.
0 commit comments