mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 03:10:12 +02:00
* Try to fix breakpad.
This commit is contained in:
@@ -49,11 +49,20 @@
|
||||
#include "common/memory.h"
|
||||
#include "google_breakpad/common/minidump_format.h"
|
||||
|
||||
#if __cplusplus > 199711L
|
||||
#include <type_traits>
|
||||
#endif
|
||||
|
||||
namespace google_breakpad {
|
||||
|
||||
#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;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Typedef for our parsing of the auxv variables in /proc/pid/auxv.
|
||||
#if defined(__i386) || defined(__ARM_EABI__)
|
||||
|
Reference in New Issue
Block a user