diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/llcommon/llheartbeat.cpp | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2 meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz |
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/llcommon/llheartbeat.cpp')
-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 | ||