File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2020#include " compat.h"
2121#include " compat-inl.h"
2222
23- #if defined(__linux__) && (defined(__i386) || defined(__x86_64__))
23+ #if defined(__linux__) && (defined(__i386) || defined(__x86_64__)) || defined(sigev_notify_thread_id)
2424
2525#include " util.h"
2626
@@ -307,7 +307,7 @@ void Initialize(v8::Isolate* isolate, v8::Local<v8::Object> binding) {
307307
308308} // namespace watchdog
309309
310- #else // defined(__linux__) && (defined(__i386) || defined(__x86_64__))
310+ #else // defined(__linux__) && (defined(__i386) || defined(__x86_64__)) && defined(sigev_notify_thread_id)
311311
312312namespace watchdog {
313313
@@ -329,6 +329,6 @@ const v8::CpuProfile* StopCpuProfiling(v8::Isolate* isolate) {
329329
330330} // namespace watchdog
331331
332- #endif // defined(__linux__) && (defined(__i386) || defined(__x86_64__))
332+ #endif // defined(__linux__) && (defined(__i386) || defined(__x86_64__)) && defined(sigev_notify_thread_id)
333333
334334#endif // AGENT_SRC_WATCHDOG_H_
You can’t perform that action at this time.
0 commit comments