|
Lines 60-68
Link Here
|
| 60 |
# if defined(KWSYS_SYS_HAS_PSAPI) |
60 |
# if defined(KWSYS_SYS_HAS_PSAPI) |
| 61 |
# include <psapi.h> |
61 |
# include <psapi.h> |
| 62 |
# endif |
62 |
# endif |
| 63 |
# if !defined(siginfo_t) |
|
|
| 64 |
typedef int siginfo_t; |
| 65 |
# endif |
| 66 |
#else |
63 |
#else |
| 67 |
# include <sys/types.h> |
64 |
# include <sys/types.h> |
| 68 |
# include <sys/time.h> |
65 |
# include <sys/time.h> |
|
Lines 208-213
Link Here
|
| 208 |
# define USE_CPUID 0 |
205 |
# define USE_CPUID 0 |
| 209 |
#endif |
206 |
#endif |
| 210 |
|
207 |
|
|
|
208 |
#if !defined(siginfo_t) |
| 209 |
typedef int siginfo_t; |
| 210 |
#endif |
| 211 |
|
| 211 |
#if USE_CPUID |
212 |
#if USE_CPUID |
| 212 |
|
213 |
|
| 213 |
#define CPUID_AWARE_COMPILER |
214 |
#define CPUID_AWARE_COMPILER |
|
Lines 1037-1043
Link Here
|
| 1037 |
#endif |
1038 |
#endif |
| 1038 |
|
1039 |
|
| 1039 |
// **************************************************************************** |
1040 |
// **************************************************************************** |
| 1040 |
#if !defined(_WIN32) && !defined(__MINGW32__) && !defined(__CYGWIN__) |
1041 |
#if !defined(_WIN32) && !defined(__MINGW32__) && !defined(__CYGWIN__) && !defined(__MINT__) |
| 1041 |
void StacktraceSignalHandler( |
1042 |
void StacktraceSignalHandler( |
| 1042 |
int sigNo, |
1043 |
int sigNo, |
| 1043 |
siginfo_t *sigInfo, |
1044 |
siginfo_t *sigInfo, |
|
Lines 3340-3346
Link Here
|
| 3340 |
*/ |
3341 |
*/ |
| 3341 |
void SystemInformationImplementation::SetStackTraceOnError(int enable) |
3342 |
void SystemInformationImplementation::SetStackTraceOnError(int enable) |
| 3342 |
{ |
3343 |
{ |
| 3343 |
#if !defined(_WIN32) && !defined(__MINGW32__) && !defined(__CYGWIN__) |
3344 |
#if !defined(_WIN32) && !defined(__MINGW32__) && !defined(__CYGWIN__) && !defined(__MINT__) |
| 3344 |
static int saOrigValid=0; |
3345 |
static int saOrigValid=0; |
| 3345 |
static struct sigaction saSEGVOrig; |
3346 |
static struct sigaction saSEGVOrig; |
| 3346 |
static struct sigaction saTERMOrig; |
3347 |
static struct sigaction saTERMOrig; |