1
0
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:
Christian Muehlhaeuser
2012-11-16 09:30:32 +01:00
parent 8328a0b2a9
commit 8314cdbcf5

View File

@@ -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__)