mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
* Try to fix breakpad.
This commit is contained in:
@@ -49,11 +49,20 @@
|
|||||||
#include "common/memory.h"
|
#include "common/memory.h"
|
||||||
#include "google_breakpad/common/minidump_format.h"
|
#include "google_breakpad/common/minidump_format.h"
|
||||||
|
|
||||||
|
#if __cplusplus > 199711L
|
||||||
|
#include <type_traits>
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace google_breakpad {
|
namespace google_breakpad {
|
||||||
|
|
||||||
#if defined(__i386) || defined(__x86_64)
|
#if defined(__i386) || defined(__x86_64)
|
||||||
|
//typedef typeof(((struct user*) 0)->u_debugreg[0]) debugreg_t;
|
||||||
|
#if __cplusplus > 199711L
|
||||||
|
typedef std::remove_reference< decltype(((struct user*) 0)->u_debugreg[0]) >::type debugreg_t;
|
||||||
|
#else
|
||||||
typedef typeof(((struct user*) 0)->u_debugreg[0]) debugreg_t;
|
typedef typeof(((struct user*) 0)->u_debugreg[0]) debugreg_t;
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
// Typedef for our parsing of the auxv variables in /proc/pid/auxv.
|
// Typedef for our parsing of the auxv variables in /proc/pid/auxv.
|
||||||
#if defined(__i386) || defined(__ARM_EABI__)
|
#if defined(__i386) || defined(__ARM_EABI__)
|
||||||
|
Reference in New Issue
Block a user