diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llcommon/llheartbeat.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/linden/indra/llcommon/llheartbeat.cpp b/linden/indra/llcommon/llheartbeat.cpp index 13bcd46..b67d3f2 100644 --- a/linden/indra/llcommon/llheartbeat.cpp +++ b/linden/indra/llcommon/llheartbeat.cpp | |||
@@ -72,8 +72,13 @@ LLHeartbeat::rawSend() | |||
72 | if (mSuppressed) | 72 | if (mSuppressed) |
73 | return 0; // Pretend we succeeded. | 73 | return 0; // Pretend we succeeded. |
74 | 74 | ||
75 | int result; | ||
76 | #ifndef LL_DARWIN | ||
75 | union sigval dummy; | 77 | union sigval dummy; |
76 | int result = sigqueue(getppid(), LL_HEARTBEAT_SIGNAL, dummy); | 78 | result = sigqueue(getppid(), LL_HEARTBEAT_SIGNAL, dummy); |
79 | #else | ||
80 | result = kill(getppid(), LL_HEARTBEAT_SIGNAL); | ||
81 | #endif | ||
77 | if (result == 0) | 82 | if (result == 0) |
78 | return 0; // success | 83 | return 0; // success |
79 | 84 | ||