equal
deleted
inserted
replaced
72 # include <setjmp.h> |
72 # include <setjmp.h> |
73 #endif |
73 #endif |
74 # ifdef SOLARIS_MUTATOR_LIBTHREAD |
74 # ifdef SOLARIS_MUTATOR_LIBTHREAD |
75 # include <sys/procfs.h> |
75 # include <sys/procfs.h> |
76 # endif |
76 # endif |
|
77 |
|
78 #include <inttypes.h> |
|
79 |
|
80 // Solaris 8 doesn't provide definitions of these |
|
81 #ifdef SOLARIS |
|
82 #ifndef PRIdPTR |
|
83 #if defined(_LP64) |
|
84 #define PRIdPTR "ld" |
|
85 #define PRIuPTR "lu" |
|
86 #define PRIxPTR "lx" |
|
87 #else |
|
88 #define PRIdPTR "d" |
|
89 #define PRIuPTR "u" |
|
90 #define PRIxPTR "x" |
|
91 #endif |
|
92 #endif |
|
93 #endif |
|
94 |
77 #ifdef LINUX |
95 #ifdef LINUX |
78 # include <inttypes.h> |
|
79 # include <signal.h> |
96 # include <signal.h> |
80 # include <ucontext.h> |
97 # include <ucontext.h> |
81 # include <sys/time.h> |
98 # include <sys/time.h> |
82 #endif |
99 #endif |
83 |
100 |